Skip to main content
Skip to main content

retrieveStockedQuantity - Inventory Next Module Reference

This documentation provides a reference to the retrieveStockedQuantity method. This belongs to the Inventory Next Module.

This method retrieves the stocked quantity of an inventory item in the specified location.

Example

const stockedQuantity =
await inventoryModuleService.retrieveStockedQuantity(
"iitem_123",
["loc_123", "loc_321"]
)

Parameters

inventoryItemIdstringRequired
The inventory item's ID.
locationIdsstring[]Required
The locations' IDs.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<number>Required
The stocked quantity of the item.
Was this section helpful?