OBJECT
ProductVariant
A product variant represents a different version of a product, such as differing sizes or differing colors.
link GraphQL Schema definition
- type ProductVariant implements Node {
- # Indicates if the product variant is in stock.
- Boolean :
- ID! :
- # Image associated with the product variant.
- #
- # Arguments
- # maxWidth: Image width in pixels between 1 and 2048
- # maxHeight: Image height in pixels between 1 and 2048
- # crop: If specified, crop the image keeping the specified region
- # scale: Image size multiplier retina displays. Must be between 1
- # and 3
- Int, : Int, : CropRegion, : Int): Image ( :
- # The product variant’s price.
- Money! :
- # The product object that the product variant belongs to.
- Product! :
- # List of product options applied to the variant.
- SelectedOption!]! : [
- # The product variant’s title.
- String! :
- # The weight of the product variant in the unit system specified with
- # `weight_unit`.
- Float :
- # Unit of measurement for weight.
- WeightUnit! :
- }
link Require by
- CheckoutLineItemA single line item in the checkout, grouped by variant and attributes.
- OrderLineItemRepresents a single line in an order. There is one line item for each distinct product variant.
- ProductA product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
- ProductVariantEdgenull