OBJECT
Variant
A variant - a specific instance of a general product, that represents an inventory item with a quantity and concrete size, color, weight, etc.
link GraphQL Schema definition
- type Variant {
- : ID!
- # The product this variant is a part of
- : Product!
- # The number of available units of this variant
- : Int!
- # The color of the variant
- : String
- # The size of the variant
- : String
- # The weight of the variant, measured in ounces
- : Float!
- # The price of the variant
- : Float
- # If nonzero, the sale price of the variant
- : Float
- # If present, the price of shipping this variant
- : Float
- # If present, the price of the variant if sold via wholesale
- : Float
- # Line items of orders that this variant has appeared in
- : [OrderLineItem!]!
- # Shopping cart items where this variant is currently held
- : [CartItem!]!
- # Waitlist items for this variant
- : [WaitlistItem!]!
- }
link Require by
- CartItemAn item in a customer's shopping cart
- Mutationnull
- OrderLineItemA line item for a variant on an order
- ProductA product represents a general item sold. The variants that make it up have specific sizes, colors, etc
- Querynull
- VariantPaginatorA paginated list of Variant items.
- WaitlistItemA customer's waitlisted variant