ProductVariant
ObjectFields returned for product variant.
Fields
- ProductVariantAvailability
availability Returns the availability status of the variant, including sale eligibility and stock details.
- String
barcode The barcode (for example, ISBN, UPC, or GTIN) associated with the variant.
- ID!
id Gets the unique identifier of the variant.
- Media
image Gets the featured image for the variant, the featured image is the first media of type image
- MediaConnection!
media A list of media associated with the variant.
- [MetadataItem!]!
metadata Custom metadata key/value pairs for the product variant.
- [Metafield!]!
metafields A list of metafields associated with the variant. If a metafield definition has no explicit assignment for this variant, the definition’s default value is returned.
- String!
name The name of the variant.
- Price
price Gets the scoped price for the variant, the scoped price is the price for the current channel and currency.
- Product!
product Gets the product associated with the variant.
- [SelectedAttribute!]!
selectedAttributes List of attributes and values applied to the variant.
- String
sku Gets the SKU (Stock Keeping Unit) of the variant.
- Weight
weight The weight of the variant.
Queries
Returns a list of product variants.