Description
Topic: Product Variants
Fields
The barcode, UPC or ISBN number for the product
Example: "1234_pink"
bundle_line_items: [StorefrontBundleLineItem!]!
Items in the bundle
Country of origin (ISO 3166-1 alpha-2)
Example: "US"
The date and time when the variant was created, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
currency_prices: [CurrencyPrice!]!
List of prices specific to currencies
custom_fields: [CustomField!]!
Non-zero if customer group price is available for current customer
Example: 190
Whether discount can be applied to this variant or not
Example: false
Amount of days the product is available for download after purchase (digital product), 0 if not limited
Example: 5
favorite: StorefrontCustomerFavorite
fulfillment_service: FulfillmentService!
Service who is doing the fulfillment
The weight of the product variant in grams
Example: 200
Height of the product (in millimeters) used which can be used when calculating shipping costs
Example: 200
Harmonized System (HS) Code
Example: "6404.19"
A unique product variant identifier
Example: "va_EQzGqWoY"
inventory: StorefrontVariantInventory
inventory_policy: InventoryPolicy!
Specifies whether or not customers are allowed to place an order for a product variant when it's out of stock
Whether this variant is a default variant of a product
Example: false
Length of the product (in millimeters) used which can be used when calculating shipping costs
Example: 200
linked_media_files: [StorefrontMediaFile!]!
Linked media files for this variant. Media files of a closest variant (option-wise) will be provided if variant lacks own media files.
Translatable
The minimum advertised price of the product variant
Example: 190
Maximum number of downloads (digital product), 0 if not limited
Example: 10
media_files: [StorefrontMediaFile!]!
Media files for this variant
Translatable
options: [VariantOption!]!
List of options
The order of the product variant in the list of product variants
Example: 0
The price of the product variant
Example: 190
product: StorefrontProduct
The retail cost of the product variant
Example: 190
Special price for a product that can be active during a selected period of time
Example: 120
Whether sale price is eligible or not according to server's idea of time
Example: false
Lower date boundary when sale price is active
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Upper date boundary when sale price is active
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
A unique identifier for the product variant in the shop (stock keeping unit)
Example: "IPOD2008PINK"
Tax class of this variant
Example: "default"
Specifies whether or not a tax is charged when the product variant is sold
Example: true
tiered_pricing: TieredPricing
type: VariantType!
Type of the variant
The date and time when the variant was last updated, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Width of the product (in millimeters) used which can be used when calculating shipping costs
Example: 200
Used By
Queries
Types
StorefrontBundleLineItem, StorefrontCustomFieldObjects, StorefrontCustomerFavorite, StorefrontCustomerInventory, StorefrontOrderLineItem, StorefrontProduct, StorefrontProductVariantPage, StorefrontReturnLineItem, StorefrontShop, StorefrontSubscription, StorefrontVariantInventory
Preview (typescript)
Loading module