Admin API / Types

OrderItem

Object

One line of an order. Title, image and price are copies taken at purchase.

type OrderItem

Fields

FieldTypeDescription
deliveryMethodOrderItemDeliveryMethod
How the item reaches the buyer. Null for an item with no variant, which does not change Order.fulfillmentStatus.
imageUrlURL
The item image at purchase. Null when none was stored.
lineTotalMoney!
Price of all units on the line, at purchase.
productProduct
The listing. Null when the listing is not visible to the caller. Reading the listing's fields needs the admin:products:read scope.
productVariantProductVariant
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.
quantityNonNegativeInt!
Units on the line. Some lines of earlier checkouts store 0.
titleString!
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.
variantTitleString
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.

Returned by