Input objects
SalesOrderCustomLineItemInput
A new free line item without an item of the catalog.
input
SalesOrderCustomLineItemInputFields
taxClassId
ID
The tax class. Defaults to the default tax class; fails with a GraphQL error whose extensions.code is TaxClassNotFound.
sortOrder
Int
The position of the line item. Defaults to the end.
sku
String
A free SKU of the line item.
salesUnit
String
The unit the quantity is sold in, for example 'pcs'.
salesPriceNet
Decimal!
required
The net price per unit.
quantity
Decimal!
required
The quantity; greater than 0. Fails with a GraphQL error whose extensions.code is LineItemQuantityNotPositive.
note
String
A note on the line item.
name
String!
required
The name printed on the document.
discountPercent
Decimal
The discount in percent, at most 100. Fails with a GraphQL error whose extensions.code is LineItemDiscountPercentAboveMaximum.
Was this page helpful?