Skip to main content

OrderLine

Permission required: order_line:read

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, shipping_charge, payment_charge or coupon (an order-level discount, with a negative price).

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 ● ShippingLine object