Update warehouse
update_warehouseModify existing warehouse records by sending only fields to change; set null to remove a field. Slug stays fixed. Check get_operation_schema for the exact request format.
Instructions
Update an existing warehouse via JSON Merge Patch: send only the fields to change; setting a field to null removes it. The slug cannot be changed after creation. Call get_operation_schema("UpdateWarehouse") for the exact request shape.
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": {
"id": "<id>",
"warehouse": "<warehouse>"
},
"name": "update_warehouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Warehouse ID (UUID). | |
| warehouse | Yes | Merge-patch record matching the UpdateWarehouseRequest schema (see get_operation_schema("UpdateWarehouse")). Must not be empty. |