- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
confirmInventory - Inventory Next Module Reference
This documentation provides a reference to the confirmInventory
method. This belongs to the Inventory Next Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method confirms that a quantity is available of an inventory item in the specified locations.
Example#
Parameters#
inventoryItemId
stringThe inventory item's ID.
locationIds
string[]The locations' IDs.
quantity
BigNumberInputThe quantity to confirm its availability.
quantity
BigNumberInputA context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<boolean>Whether the quantity is available.
Promise
Promise<boolean>Was this page helpful?