Update product variant by id
Update product variant by id
Authorizations:Token
Query Parameters
id required | integerId value of the ProductVariant object |
Request Body Schema:
ProductVariant object that needs to be added id | integerUnique ID |
product | |
price | stringPrice |
defaultPrice | booleanDefault price flag |
amount | integerAmount |
defaultAmount | booleanDefault amount flag |
weight | stringWeight |
defaultWeight | booleanDefault weight flag |
sku | stringProduct SKU |
variant_id | stringProduct variant unique id |
defaultValue | booleanDefault flag |
image | |
attributeValueC | ArrayAttribute value (checkbox) |
attributeValueS | ArrayAttribute value (select) |
orderItems | ArrayProduct order items |
Responses
200Success
Response schema:
Success id | integerUnique ID |
product | |
price | stringPrice |
defaultPrice | booleanDefault price flag |
amount | integerAmount |
defaultAmount | booleanDefault amount flag |
weight | stringWeight |
defaultWeight | booleanDefault weight flag |
sku | stringProduct SKU |
variant_id | stringProduct variant unique id |
defaultValue | booleanDefault flag |
image | |
attributeValueC | ArrayAttribute value (checkbox) |
attributeValueS | ArrayAttribute value (select) |
orderItems | ArrayProduct order items |