Create a new inventory record.
POST
/products/{productID}/inventoryrecords
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
productID | Required | string | ID of the product. | --- |
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 | --- | --- | --- |