deleteInventoryLevel - Inventory Module Reference
This documentation provides a reference to the deleteInventoryLevel method. This belongs to the Inventory Module.
This method is used to delete an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
Example
Parameters
inventoryItemIdstringRequiredThe ID of the associated inventory item.
locationIdstringRequiredThe ID of the associated location.
contextSharedContextA context used to share resources, such as transaction manager, between the application and the module.
contextSharedContextReturns
PromisePromise<void>RequiredResolves when the inventory level(s) are successfully restored.
Was this section helpful?