Skip to main content

OrderItem

No description

type OrderItem {
id: ID!
name: String
uid: String
enterpriseId: String
orderId: String
productId: String
platformId: String
shopId: String
variantId: String
platformOrderId: String
platformOrderItemId: String
cancelled: Boolean
shipped: Boolean
draft: Boolean
ignored: Boolean
purchaseOrder: Boolean
discount: Float
price: Float
subtotal: Float
tax: Float
total: Float
quantity: Int
index: Int
decorationMethod: String
decorationMethods: [String!]
variant: Variant
purchaseOrderData: VariantMapping
image: Image
images: [Image!]
mockups: [OrderArtwork!]
printFiles: [OrderArtwork!]
cost: OrderItemCost
}

Fields​

OrderItem.id ● ID! non-null scalar​

OrderItem.name ● String scalar​

OrderItem.uid ● String scalar​

OrderItem.enterpriseId ● String scalar​

OrderItem.orderId ● String scalar​

OrderItem.productId ● String scalar​

OrderItem.platformId ● String scalar​

OrderItem.shopId ● String scalar​

OrderItem.variantId ● String scalar​

OrderItem.platformOrderId ● String scalar​

OrderItem.platformOrderItemId ● String scalar​

OrderItem.cancelled ● Boolean scalar​

OrderItem.shipped ● Boolean scalar​

OrderItem.draft ● Boolean scalar​

OrderItem.ignored ● Boolean scalar​

OrderItem.purchaseOrder ● Boolean scalar​

OrderItem.discount ● Float scalar​

OrderItem.price ● Float scalar​

OrderItem.subtotal ● Float scalar​

OrderItem.tax ● Float scalar​

OrderItem.total ● Float scalar​

OrderItem.quantity ● Int scalar​

OrderItem.index ● Int scalar​

OrderItem.decorationMethod ● String scalar​

Decoration method id stored on the order item (e.g. "1" for DTG, "3" for Embroidery). See getDecorationMethods for the global id → name mapping. When sides use different methods, this is the primary method (embroidery preferred if present); see decorationMethods for the full set.

OrderItem.decorationMethods ● [String!] list scalar​

All decoration method ids used across placements on this line item. Empty/absent means the item uses only decorationMethod.

OrderItem.variant ● Variant object​

OrderItem.purchaseOrderData ● VariantMapping object​

OrderItem.image ● Image object​

OrderItem.images ● [Image!] list object​

OrderItem.mockups ● [OrderArtwork!] list object​

Customer-facing mockups for this line. Separate from images, which may be a preview. Empty when the order has no mockup yet.

Production files for this line (print PNG, DST, and other machine files). When the line has no uploaded production file, this is the print PNG the customizer exported at checkout. Preview images stay on images.

OrderItem.cost ● OrderItemCost object​

Member Of​

Order object