For the complete documentation index, see llms.txt. This page is also available as Markdown.

OrderLine

A line on an order representing how many of a product are delivered and for what price.

Fields

id (ID!)

ID to identify the order line with

metadata (JSON)

Metadata makes it possible to store additional information on objects. Read and merge the existing object before updating it so other keys are preserved.

product (Product)

The product for this order line. Can be null for imported orders without a matching product.

productSku (String)

The product sku at the moment or order creation

productTitle (String)

The product title at the moment or order creation

productType (OrderedProductTypes)

The product type at the moment of order creation

quantity (Int!)

The quantity of products for this order line

taxPercentage (Float)

The tax percentage for this order line

totalAmountExcludingTaxCents (Int)

The total amount for this order line excluding tax in cents (not including discounts)

totalAmountIncludingTaxCents (Int)

The total amount for this order line including tax in cents (not including discounts)

Last updated

Was this helpful?