Generate variants.
POST
/products/{productID}/variants/generate
201Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
productID | Required | string | ID of the product. | --- |
overwriteExisting | boolean | Overwrite existing of the product. | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
OwnerID | string | --- | --- | --- | ||
DefaultPriceScheduleID | string | --- | --- | --- | ||
AutoForward | boolean | --- | --- | --- | ||
ID | string | --- | 100 characters | --- | ||
ParentID | string | --- | --- | --- | ||
IsParent | boolean | --- | --- | --- | ||
IsBundle | Read Only | boolean | --- | --- | --- | |
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
QuantityMultiplier | integer | int32 | --- | --- | ||
ShipWeight | number | float | --- | --- | ||
ShipHeight | number | float | --- | --- | ||
ShipWidth | number | float | --- | --- | ||
ShipLength | number | float | --- | --- | ||
Active | boolean | --- | --- | --- | ||
SpecCount | Read Only | integer | int32 | --- | --- | |
VariantCount | Read Only | integer | int32 | --- | --- | |
ShipFromAddressID | string | --- | --- | --- | ||
Inventory | object | --- | --- | --- | ||
DefaultSupplierID | string | --- | --- | --- | ||
AllSuppliersCanSell | boolean | --- | --- | --- | ||
Returnable | boolean | --- | --- | --- | ||
xp | object | --- | --- | --- |