retrieveAvailableQuantity - Inventory Next Module Reference
This documentation provides a reference to the retrieveAvailableQuantity
method. This belongs to the Inventory Next Module.
This method retrieves the available quantity of an inventory item in the specified locations.
Example
Parameters
inventoryItemId
stringRequiredThe inventory item's ID.
locationIds
string[]RequiredThe locations' IDs.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
Promise
Promise<number>RequiredThe available quantity of the item.
Promise
Promise<number>RequiredWas this section helpful?