Skip to main content
Skip to main content

deleteInventoryLevel - Inventory Next Module Reference

This documentation provides a reference to the deleteInventoryLevel method. This belongs to the Inventory Next Module.

This method deletes an inventory level by its associated inventory item and location.

Example

await inventoryModuleService.deleteInventoryLevel(
"iitem_123",
"loc_123"
)

Parameters

inventoryItemIdstringRequired
The inventory item's ID.
locationIdstringRequired
The location's ID.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the inventory level is deleted successfully.
Was this section helpful?