Variant Properties

Variant properties

Name

Type

Description

title

String

Variant's title

price

String

Variant's price

compare_at_price

String

Variant's compare at price ( original price )

weight

String

Variant's weight, possible value are: kg, g, lb, oz

weight_unit

String

Variant's weight unit

inventory_quantity

Integer

Variant's inventory quantity

sku

String

Variant's SKU

barcode

String

Variant's Barcode

note

String

Variant's note

option1

String

Option1

option2

String

Option2

option3

String

Option3

position

Integer

position

created_at

String

created at

updated_at

String

updated 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 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