Add product variant
Add product variant
Authorizations:Token
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 |