Skip to main content
inputSalesOrderCustomLineItemUpdateInput

Fields

taxClassId
ID

The tax class. Null or an unknown ID fails with a GraphQL error whose extensions.code is TaxClassNotFound.

sortOrder
Int

The position of the line item. Null fails with a GraphQL error whose extensions.code is LineItemSortOrderRequired.

sku
String

A free SKU of the line item. Null clears it.

salesUnit
String

The unit the quantity is sold in. Null clears it.

salesPriceNet
Decimal

The net price per unit. Null fails with a GraphQL error whose extensions.code is LineItemSalesPriceNetRequired.

quantity
Decimal

The quantity; greater than 0. Null or 0 or less fails with a GraphQL error whose extensions.code is LineItemQuantityNotPositive.

note
String

A note on the line item. Null clears it.

name
String

The name printed on the document. Null fails with a GraphQL error whose extensions.code is LineItemNameRequired.

discountPercent
Decimal

The discount in percent, at most 100. Null clears it (0 %); above 100 fails with LineItemDiscountPercentAboveMaximum.