ProductVariants

Add a variant to a product

post/api/v1/products/{id}/variants

Path parameters

idinteger required

The product ID

The product ID

Request body

idinteger
parent_product_idinteger
product_codestring nullable
rrpnumber double
is_default_variantboolean
number_in_stockinteger
pricenumber double
product_weightnumber double
conditionstring nullable
gtinstring nullable
mpnstring nullable
liveboolean
combination_namestring nullable

Response

The added variant

metaobject nullable
errorsobject nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.