Gets the inventory quantity for an item by Item ID in the specified unit of measure. Introduced in v2.20
| Method | GetItemInventoryQuantities |
The request body is of type GetItemInventoryQuantities.
| Name | Description | Data Type |
|---|---|---|
| Item_ID | The unique identifier of the item. | xml:int |
| UOM | The type of the unit of measure. Valid options are as follows:
| xml:anyType |
| Options | xml:string |
MakeAJAXCall("Inventory.GetItemInventoryQuantities", {
Item_ID:579,
UOM:0
},console.log);
The response body is of type GetItemInventoryQuantitiesResponse.
| Name | Description | Data Type |
|---|---|---|
| GetItemInventoryQuantitiesResult |
{
"Data": {
"StockCode": "A100",
"UOM": "EA",
"InventoryQty": 107806.000000,
"DisplayString": "107,806 In Stock",
"Warehouses": [
{
"Warehouse": "E",
"Description": "Eastern Zone Warehouse",
"InventoryQty": 7031.0
},
{
"Warehouse": "FG",
"Description": "Finished Goods Warehouse",
"InventoryQty": 4498.0
},
{
"Warehouse": "N",
"Description": "Northern Warehouse",
"InventoryQty": 89422.0
},
{
"Warehouse": "S",
"Description": "Southern Warehouse",
"InventoryQty": 6855.0
}
]
},
"Result": {
"Success": true,
"Message": "Inventory results returned successfully.",
"ElapsedTime": "54 ms"
}
}
| xml:string |