Rest Item InventoryLevel Service. {Version – 2.0}
Load MultiProductLocationInventoryDetails #
Service Url: POST /multiItem
Path Parameters: None
Query Parameters: None
Request Body:
MultiItemInventoryLevelRequest
products – List<String>
locations – List<ILocationKey>
inventoryItemType – String
inventoryType – String
retrieveMainWarehouseInventory – Boolean
retrieveSKUProductInventory – Boolean
retrieveExpectedDeliveries – Boolean
Response Body:
LoadInventoryDispatchItemsResponse
inventoryDispatchItemsList -List<IInventoryDispatchItem> → list of Inventory Dispatch Items
Remarks: Supports both application/xml,application/json media-types
Example Request:
{
"products" : [ "1" ],
"locations" : [ {
"id" : "0001"
} ],
"inventoryItemType" : "PRODUCT",
"inventoryType" : "AVA",
"retrieveNearestStoresInventory" : false,
"retrieveMainWarehouseInventory" : false,
"retrieveSKUProductInventory" : false,
"retrieveExpectedDeliveries" : false
}
Example Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:multiItemInventoryLevelResponse xmlns:ns2="http://www.enactor.com/retail" xmlns:ns3="http://www.enactor.com/core" xmlns:ns4="http://www.enactor.com/orders" xmlns:ns5="http://www.enactor.com/crm" xmlns:ns6="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803" xmlns:ns7="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803" xmlns:ns8="http://www.enactor.com/retail/storedRetailTransaction/service" xmlns:ns9="http://docs.oasis-open.org/wsbpel/2.0/serviceref" xmlns:ns10="http://www.enactor.com/retail/storedRestaurantSaleTransaction/service" xmlns:ns11="http://www.enactor.com/addressLookup/service" xmlns:ns12="http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803" xmlns:ns13="http://www.enactor.com/crm/customerLoyalty/service" xmlns:ns14="http://www.enactor.com/retail/restaurantTableStatus/service" xmlns:ns15="http://www.enactor.com/tools">
<ns2:itemInventoryLevelResponses>
<ns2:itemInventoryLevelResponse>
<ns2:localInventoryLevel>
<ns2:locationId>0001</ns2:locationId>
<ns2:locationName>Enactor Store</ns2:locationName>
<ns2:locationType>store</ns2:locationType>
<ns2:productId>1</ns2:productId>
<ns2:productDescription>KAT VON D Eye Liner</ns2:productDescription>
<ns2:inventoryItemType>PRODUCT</ns2:inventoryItemType>
<ns2:inventoryType>AVA</ns2:inventoryType>
<ns2:value>100</ns2:value>
</ns2:localInventoryLevel>
<ns2:locationInventoryLevels>
<ns2:locationInventoryLevel>
<ns2:locationId>0001</ns2:locationId>
<ns2:locationName>Enactor Store</ns2:locationName>
<ns2:locationType>store</ns2:locationType>
<ns2:productId>1</ns2:productId>
<ns2:productDescription>KAT VON D Eye Liner</ns2:productDescription>
<ns2:inventoryItemType>PRODUCT</ns2:inventoryItemType>
<ns2:inventoryType>AVA</ns2:inventoryType>
<ns2:value>100</ns2:value>
</ns2:locationInventoryLevel>
</ns2:locationInventoryLevels>
</ns2:itemInventoryLevelResponse>
</ns2:itemInventoryLevelResponses>
</ns2:multiItemInventoryLevelResponse>
{
"itemInventoryLevelResponses": [
{
"localInventoryLevel": {
"locationId": "0001",
"locationName": "Enactor Store",
"locationType": "store",
"productId": "1",
"productDescription": "KAT VON D Eye Liner",
"inventoryItemType": "PRODUCT",
"inventoryType": "AVA",
"value": 100
},
"locationInventoryLevels": [
{
"locationId": "0001",
"locationName": "Enactor Store",
"locationType": "store",
"productId": "1",
"productDescription": "KAT VON D Eye Liner",
"inventoryItemType": "PRODUCT",
"inventoryType": "AVA",
"value": 100
}
]
}
]
}