Skip to main content
Skip to main content

retrieveReservedQuantity - Inventory Next Module Reference

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

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

Example

const reservedQuantity =
await inventoryModuleService.retrieveReservedQuantity(
"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 reserved quantity of the item.
Was this section helpful?