Merchandise
Anchor to Possible typesPossible types
- ProductVariant (ProductVariant)
- •OBJECT
A specific version of a product available for sale, differentiated by options like size or color. For example, a small blue t-shirt and a large blue t-shirt are separate variants of the same product. For more information, see the docs on Shopify's product model.
For products with quantity rules, variants enforce minimum, maximum, and increment constraints on purchases.
Variants also support subscriptions and pre-orders through selling plan allocations objects, bundle configurations through product variant components objects, and shop pay installments pricing for flexible payment options.
Anchor to Fields with this unionFields with this union
- •INTERFACE
- •OBJECT
An item in a customer's
Cartrepresenting a product variant they intend to purchase. Each cart line tracks the merchandise, quantity, cost breakdown, and any applied discounts.Cart lines can include custom attributes for additional information like gift wrapping requests, and can be associated with a
for purchase options like subscriptions, pre-orders, or try-before-you-buy. Theinstructionsfield indicates whether the line can be removed or have its quantity updated.- •OBJECT
Represents information about the grouped merchandise in the cart.