Loading...
Was this page helpful?
This documentation provides a reference to the restoreInventoryItems
method. This belongs to the Inventory Next Module.
This method restores soft deleted inventory items by their IDs.
inventoryItemIds
string[]returnLinkableKeys
property any of the inventory item's relation attribute names, such as location_levels
.Promise
Promise<void | Record<string, string[]>>location_level_id
,
and its value is an array of strings, each being the ID of the record associated with the inventory item through this relation,
such as the IDs of associated location levels.
If there are no related records restored, the promise resolves to void
.