Create or update a variant inventory record.
PUT
/products/{productID}/variants/{variantID}/inventoryrecords/{inventoryRecordID}
200Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
productID | Required | string | ID of the product. | --- |
variantID | Required | string | ID of the variant. | --- |
inventoryRecordID | Required | string | ID of the inventory record. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
OwnerID | string | --- | --- | --- | ||
AllowAllBuyers | boolean | --- | --- | --- | ||
AddressID | Required | string | --- | --- | --- | |
OrderCanExceed | boolean | --- | --- | --- | ||
QuantityAvailable | integer | int32 | --- | --- | ||
NotificationPoint | integer | int32 | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
OwnerID | string | --- | --- | --- | ||
AllowAllBuyers | boolean | --- | --- | --- | ||
Address | Read Only | object | --- | --- | --- | |
AddressID | string | --- | --- | --- | ||
OrderCanExceed | boolean | --- | --- | --- | ||
QuantityAvailable | integer | int32 | --- | --- | ||
NotificationPoint | integer | int32 | --- | --- | ||
LastUpdated | Read Only | string | date-time | --- | --- | |
xp | object | --- | --- | --- |