CreateOrderLineItemInput
A line item of an order with its final price.
input CreateOrderLineItemInput {
quantity: Int!
unitPrice: Float!
taxRate: Float!
productId: ID
label: String
}
Fields
CreateOrderLineItemInput.quantity ● Int! non-null scalar
Number of units. Must be at least 1.
CreateOrderLineItemInput.unitPrice ● Float! non-null scalar
Final price per unit in the order's currency, read in the order's taxStatus. Taken over as it is: the line item total is this price times the quantity, rounded to the currency's item rounding.
CreateOrderLineItemInput.taxRate ● Float! non-null scalar
Tax rate of the line item in percent, e.g. 19 for 19%. Ignored when the order is tax-free.
CreateOrderLineItemInput.productId ● ID scalar
ID of the product the line item sells. Pickware reserves, picks and ships stock for product line items only. Omit for a line item without a product, e.g. a fee.
CreateOrderLineItemInput.label ● String scalar
Label of the line item. Required without productId; defaults to the product name otherwise.
Member Of
AddOrderLineItemInput input ● CreateOrderInput input