Radial Integration | 2016
The Inventory API provides for item reservation and near-realtime determination of availability to secure products for ordering.
Inventory API calls have the following restrictions:
Inventory URIs use the service identifier inventory.
Operation |
Action |
URI Template |
URI Example |
Transaction Type |
Unique RequestID Needed for Duplicate Detection? |
Non-URI Request / Payload |
Response |
---|---|---|---|---|---|---|---|
POST |
/vM.m/stores/STOREID/inventory/quantity/get.xml |
/v1.0/stores/ABCD/inventory/quantity/get.xml |
Get available-to-sell (promise) quantity for one or more line items. |
No |
XML |
200 + XML response |
|
Get Instore Inventory Quantity | POST | /vM.m/stores/STOREID/inventory/quantity/instore/get.xml | /v1.0/stores/ABCD/inventory/quantity/instore/get.xml | Get instore quantity for an item at one or more stores | No | XML | 200 + XML response |
POST |
/vM.m/stores/STOREID/inventory/details/get.xml |
/v1.0/stores/ABCD/inventory/details/get.xml |
Get estimated delivery date and ship-from address per line item. |
No |
XML |
200 + XML response |
|
POST |
/vM.m/stores/STOREID/inventory/allocations/create.xml |
/v1.0/stores/ABCD/inventory/allocations/create.xml |
Create an inventory reservation for one or more line items. |
No |
XML |
200 + XML response |
|
POST |
/vM.m/stores/STOREID/inventory/allocations/delete.xml |
/v1.0/stores/ABCD/inventory/allocations/delete.xml |
Delete an inventory reservation after the allocation is made but before the EP order create call. |
Yes |
XML |
200 + XML response |
|
GET |
/gsi-inventory-service/locations.json?sourceID=source&sourceType=type&network=fulfillmentnetwork&itemID=item |
/gsi-inventory-service/locations.json? |
Get inventory locations for the specified item in the specified sales channel. |
|
|
XML or JSON response |
When a request results in an unrecoverable error, the Inventory Service returns an error response message instead of an operation-specific response message. An error response message has a type and descriptive details. The Inventory Service defines two error types:
Copyright © 2017 Radial. All rights reserved.