Objects
VariantType
Type containing variant information
Type containing variant information
type VariantType {
level: Int!
dimension: String!
type: String!
value: String
label: String
skuId: Int
incoming: DateTime
shelf: String
stock: StockType
productId: Int!
name: String
alias: String
canonicalUrl: String
primaryImage: String
attributes: [VariantAttributeType]
variants: [VariantType]
}
Fields
level ● Int! non-null scalar required
Level of this variant. Lower value is a more accurate selection
dimension ● String! non-null scalar required
Variant dimension
type ● String! non-null scalar required
Variant type. In order of accuracy 'sku', 'product', 'selection'
value ● String scalar
Variant value
label ● String scalar
Variant label
skuId ● Int scalar
SKU ID associated with this variant
incoming ● DateTime scalar
Incoming date
shelf ● String scalar
Shelf
stock ● StockType object
Stock information for variant
productId ● Int! non-null scalar required
Product ID associated with this variant
name ● String scalar
Variant name
alias ● String scalar
Alias for variant selection. e.g. 'product-4'
canonicalUrl ● String scalar
Canonical URL. Only available for the 'product'-level
primaryImage ● String scalar
The primary image used for the product. Only available for the 'product'-level
attributes ● [VariantAttributeType] list object
Variant attributes
variants ● [VariantType] list object
List of variants for this variant
Member Of
ProductType object ● VariantGroupType object ● VariantType object