SalesOrderItemLineItemInput
A new line item for an item of the catalog. The item must be active.
SalesOrderItemLineItemInputFields
The ID of the item. Fails with ItemNotFound, SalesLineItemItemInactive or SalesLineItemItemIsVariationParent.
The variation values of the item. Fails with VariationNotFound, VariationValueNotFound or VariationValueRequired.
The position of the line item. Defaults to the end.
The unit the quantity is sold in. Defaults to the unit of the item.
The net price per unit. Defaults to the price of the item for the customer.
The quantity; greater than 0. Fails with a GraphQL error whose extensions.code is LineItemQuantityNotPositive.
A note on the line item.
The name printed on the document. Defaults to the name of the item.
The discount in percent, at most 100. Fails with a GraphQL error whose extensions.code is LineItemDiscountPercentAboveMaximum.
Was this page helpful?