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 |
weight_unit | String | Variant's weight unit, possible value are: kg , g , lb , oz |
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:
- Maximum variant in a single product is 300.
- Variant's
option1
andoption2
andoption3
'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 |