Update a variant of attribute
/api/attributes-select/:id
:id - id of variant
Method PUT
Request Headers
x-token: 83d7e09f5cce1de1b1fc18f312667785ee6502cfb13f35ff98902a2fd0ecbb99
Request body
{
"value": "Brand new 1",
"subValue": ""
}
value value for attribute variant
subValue alternative value for variant
Response
{
"status": "ok",
"data": {
"id": 7,
"value": "Brand new 1",
"subValue": ""
}
}