SalesOrderItemLineItemUpdateInput
Updates to an item line item; only the fields that are sent change. The item and its variations cannot be changed.
SalesOrderItemLineItemUpdateInputFields
The tax class. Null or an unknown ID fails with a GraphQL error whose extensions.code is TaxClassNotFound.
The position of the line item. Null fails with a GraphQL error whose extensions.code is LineItemSortOrderRequired.
The unit the quantity is sold in. Null clears it.
The net price per unit. Null fails with a GraphQL error whose extensions.code is LineItemSalesPriceNetRequired.
The quantity; greater than 0. Null or 0 or less fails with a GraphQL error whose extensions.code is LineItemQuantityNotPositive.
A note on the line item. Null clears it.
The name printed on the document. Null fails with a GraphQL error whose extensions.code is LineItemNameRequired.
The discount in percent, at most 100. Null clears it (0 %); above 100 fails with LineItemDiscountPercentAboveMaximum.
Was this page helpful?