OrderingOrderLineItem
An object representing a line item in an order.
type OrderingOrderLineItem {
sku: String!
name: String!
quantity: Int!
unitOfMeasure: String!
unitPriceCents: Int!
totalPriceCents: Int!
options: [OrderingProductOption!]!
}
sku
string - The stock-keeping unit (SKU) identifier for the product ordered in this line item.
name
string - The human readable name of the product ordered in this line item.
quantity
number - The number of units purchased for this item.
unitOfMeasure
string - The unit of measurement for this item (e.g., EA for each).
unitPriceCents
number - The price per unit of the item, represented in cents.
totalPriceCents
number - The total price for the line item, accounting for the quantity and unit price, represented in cents.
options
OrderingProductOption[] - The option values (e.g. paint color) this line item was ordered with. Empty when the product has no selectable options. hex is resolved from the product catalog at read time for values that represent a color, and may be null if the value has no color representation or can no longer be found in the catalog.