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
cost_priceStringVariant's cost price
📘

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 key

Type

Description

namespace

String

meta field namespace

key

String

key of meta field

value

String

value of meta field

value_type

String

possible value type:

  • string
  • integer
  • json_string

description

String

description of meta field