restoreInventoryItem - Inventory Module Reference
This documentation provides a reference to the restoreInventoryItem
method. This belongs to the Inventory Module.
This method is used to restore an inventory item or multiple inventory items that were previously deleted using the deleteInventoryItem method.
Example
Parameters
inventoryItemId
string | string[]RequiredThe ID(s) of the inventory item(s) to restore.
context
SharedContextA context used to share resources, such as transaction manager, between the application and the module.
context
SharedContextReturns
Promise
Promise<void>RequiredResolves when the inventory item(s) are successfully restored.
Was this section helpful?