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