v1
latestOpenAPI 3.0.32026-07-24198357534.7 KBVariants
Update an existing variant
put/variants/{code}
Path parameters
codestring required
Code of the element to retrieve
Query parameters
target_culturestring
Code of the data locale into which attribute's values must be retrieved or pushed If empty, default locale from the account will be used.
Request body
Example request
{
"active": 1,
"code": "variant_blue_XL",
"document_code": "document_blue",
"ERP_code": "XKLJSLD7686",
"size": "XL"
}Response
Variant has been updated