Admin API / Types
OrderItem
ObjectOne line of an order. Title, image and price are copies taken at purchase.
type OrderItemFields
| Field | Type | Description |
|---|---|---|
deliveryMethod | OrderItemDeliveryMethod | How the item reaches the buyer. Null for an item with no variant, which does not change Order.fulfillmentStatus. |
imageUrl | URL | The item image at purchase. Null when none was stored. |
lineTotal | Money! | Price of all units on the line, at purchase. |
product | Product | The listing. Null when the listing is not visible to the caller. Reading the listing's fields needs the admin:products:read scope. |
productVariant | ProductVariant | The purchased variant. Null when the item has no variant or the variant is not visible to the caller. Reading the variant's fields needs the admin:products:read scope. |
quantity | NonNegativeInt! | Units on the line. Some lines of earlier checkouts store 0. |
title | String! | The item name at purchase: the listing title, with the variant name first for a variant other than the default, such as Large - T-shirt. When no name was stored, the current names. |
variantTitle | String | Current name of the purchased variant. Null for the default variant, which a listing with one variant has, and for an item with no variant. |