Parameters
JSON body
Request body
application/jsonidstringRequiredVariant relation hash (unique identifier).
Example
a1b2c3d4codestringRequiredProduct code the variant belongs to.
Example
my-producthaystackstring | number | booleanRequiredNew value for the property.
One of 3:
Variant 1
string
Variant 2
number
Variant 3
boolean
propertystringRequiredProperty to update: name, code, ean, price, priceAddition, cost, soldOut, or warehouse.
Example
name