Variant Properties

Variant properties

NameTypeDescription
titleStringVariant's title
priceStringVariant's price
compare_at_priceStringVariant's compare at price ( original price )
weightStringVariant's weight
weight_unitStringVariant's weight unit, possible value are: kg, g, lb, oz
inventory_quantityIntegerVariant's inventory quantity
skuStringVariant's SKU
barcodeStringVariant's Barcode
noteStringVariant's note
option1StringOption1
option2StringOption2
option3StringOption3
positionIntegerposition
created_atStringcreated at
updated_atStringupdated at

📘

Noted:

  1. Maximum variant in a single product is 300.
  2. Variant's option1 and option2 and option3's value need to be one of related product's option values.

Metafield properties

Params keyTypeDescription
namespaceStringmeta field namespace
keyStringkey of meta field
valueStringvalue of meta field
value_typeStringpossible value type:

- string
- integer
- json_string
descriptionStringdescription of meta field