Create or update an inventory record.
PUT
/products/{productID}/inventoryrecords/{inventoryRecordID}
200Description
If an object with the same ID already exists, it will be overwritten.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
productID | Required | string | ID of the product. | --- |
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 | --- | --- | --- |