Skip to main content
POST
Creates a new variant on the product and returns the updated product.

Path parameters

string
required
The product’s ID.

Body parameters

string
required
Variant title.
string
Variant SKU.
string
Variant EAN.
string
Variant UPC.
string
Variant ISBN.
string
Variant ASIN.
string
Variant GTIN.
string
Variant barcode.
string
Harmonized System code.
string
Manufacturer identification code.
number
Sort rank of the variant.
number
Variant weight.
number
Variant length.
number
Variant height.
number
Variant width.
string
Country of origin.
string
Variant material.
object
Map of option title to option value, for example {"Size": "L"}.
object
Custom key-value data.
object
Custom data passed to workflow hooks.

Response

object