Update a product variant.
PUT
/products/{productID}/variants/{variantID}
200Description
Update a product variant.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
productID | Required | string | ID of the product. | --- |
variantID | Required | string | ID of the variant. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
Active | boolean | --- | --- | --- | ||
ShipWeight | number | float | --- | --- | ||
ShipHeight | number | float | --- | --- | ||
ShipWidth | number | float | --- | --- | ||
ShipLength | number | float | --- | --- | ||
Inventory | object | --- | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
Active | boolean | --- | --- | --- | ||
ShipWeight | number | float | --- | --- | ||
ShipHeight | number | float | --- | --- | ||
ShipWidth | number | float | --- | --- | ||
ShipLength | number | float | --- | --- | ||
Inventory | object | --- | --- | --- | ||
Specs | Read Only | array | --- | --- | --- | |
xp | object | --- | --- | --- |