API Reference

Create variant

Create a product variant

Log in to see full request history
Path Params
int32
required

The ID of the product to receive the new variant

Body Params
string

Name of the new variant

variant_dimension_options
array of objects

An array of variant option IDs and values

variant_dimension_options
product_custom_attributes
array of objects

An array of product custom attribute IDs and values

product_custom_attributes
Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json