restore_inventory_item
Restores a deleted inventory item by Id (see list_deleted_inventory_items), with its counts, units, custom field values and history. Order lines and assembly parts removed by the delete are not restored. Returns the restored item.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inventoryItemId": "<inventoryItemId>"
},
"name": "restore_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventoryItemId | Yes |