DraftOrderLineItem
ObjectFields returned for draft order line item.
Fields
- ID!
id The unique identifier of the resource.
- DraftOrderManualDiscount
manualDiscount The manual discount associated with this draft order line item.
- [ID!]!
mediaIds The media ids associated with this draft order line item.
- [MetadataItem!]!
metadata The metadata associated with this draft order line item.
- DraftOrderPricingSource!
pricingSource The pricing source associated with this draft order line item.
Possible enum valuesCATALOGUses the current price supplied by the catalog.
MANUALUses a price entered specifically for the draft order.
- ID!
productId The product id associated with this draft order line item.
- String!
productName The product name associated with this draft order line item.
- Int!
quantity The quantity associated with this draft order line item.
- String!
sku The sku associated with this draft order line item.
- Money!
subtotal The subtotal associated with this draft order line item.
- TaxBehavior!
taxBehavior The tax behavior associated with this draft order line item.
Possible enum valuesEXCLUSIVEExclusive tax is added on top of the price. For example, a product has the price defined as 5.00 USD. The tax charged on this product could be 10% and would result in a final price of 5.50 USD. (Tax rates might differ—this is only an explanatory example.)
INCLUSIVEInclusive tax is already included in the price. For example, a product has the price defined as 5.00 USD. The final price the customer pays is 5.00 USD.
- Money!
total The total associated with this draft order line item.
- LineItemType!
type The type associated with this draft order line item.
Possible enum valuesCUSTOMThe line item was entered independently of a catalog product variant.
MANAGEDThe line item references a product variant managed in the catalog.
- UnitPrice!
unitPrice The unit price associated with this draft order line item.
- ID!
variantId The variant id associated with this draft order line item.
- String!
variantName The variant name associated with this draft order line item.