Skip to main content

OrderLine

A line of an order: a product, a cost, a discount or another component of the order, told apart by its kind.

type OrderLine {
createdAt: ISO8601DateTime
discountedUnitaryPrice: Float
id: ID
kind: OrderLineKind
number: String
originalUnitaryPrice: Float
quantity: Int
sku: String
skuDescription: String
unitaryVatAmount: Float
updatedAt: ISO8601DateTime
vatPercentage: Float
}

Fields​

OrderLine.createdAt ● ISO8601DateTime scalar​

When the record was created.

OrderLine.discountedUnitaryPrice ● Float scalar​

The final unit price after every discount applied to the line, excluding VAT. Negative on coupon lines.

OrderLine.id ● ID scalar​

The unique identifier of the record.

OrderLine.kind ● OrderLineKind enum​

The kind of order line: item (a product), shipping_charge (the shipping cost), payment_charge (the payment cost), coupon (an order-level discount, with a negative price), import_duties (import duties), kit_component (a component of a kit) or personalization (a product personalization).

OrderLine.number ● String scalar​

The line number within the order. Shipping lines reference it when splitting item quantities across shippings.

OrderLine.originalUnitaryPrice ● Float scalar​

The full unit price before discounts, excluding VAT. Equals discountedUnitaryPrice when no discount applies. Negative on coupon lines.

OrderLine.quantity ● Int scalar​

The ordered quantity of the line.

OrderLine.sku ● String scalar​

The product SKU. Not checked against the channel catalogue at import time.

OrderLine.skuDescription ● String scalar​

The description of the product of the line.

OrderLine.unitaryVatAmount ● Float scalar​

The VAT amount for a single unit of the line, as an absolute amount (not a percentage).

OrderLine.updatedAt ● ISO8601DateTime scalar​

When the record was last updated.

OrderLine.vatPercentage ● Float scalar​

The VAT percentage applied to the line. 0 on B2B orders under the reverse charge regime.

Member Of​

Order object ● RepaymentLine object ● ShippingLine object