Skip to navigation

Variant

OBJECT
Variant

Fields

idStringRequired
The ID of an object
entityIdIntegerRequired
Id of the variant.
skuStringRequired
Sku of the variant.
optionsOptionConnectionRequired
The options which define a variant.
productOptionsProductOptionConnectionRequired
Product options that compose this variant.
metafieldsMetafieldConnectionRequired
Metafield data related to a variant.
isPurchasableBooleanRequired
Whether the product can be purchased
weightMeasurementOptional
The variant's weight. If a weight was not explicitly specified on the variant, this will be the product's weight.
heightMeasurementOptional
The variant's height. If a height was not explicitly specified on the variant, this will be the product's height.
widthMeasurementOptional
The variant's width. If a width was not explicitly specified on the variant, this will be the product's width.
depthMeasurementOptional
The variant's depth. If a depth was not explicitly specified on the variant, this will be the product's depth.
defaultImageImageOptional
Default image for a variant.
pricesPricesOptional
Variant prices
inventoryVariantInventoryOptional
Variant inventory
upcStringOptional
Universal product code.
mpnStringOptional
Manufacturer part number.
gtinStringOptional
Global trade item number.

Referenced by