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
inventoryItemIdstringRequiredThe inventory item's ID.
locationIdsstring[]RequiredThe locations' IDs.
quantitynumberRequiredThe quantity to confirm its availability.
contextContextA context used to share resources, such as transaction manager, between the application and the module.
contextContextReturns
PromisePromise<boolean>RequiredWhether the quantity is available.
PromisePromise<boolean>RequiredWas this section helpful?