Remove a warehouse closure or opening
remove_warehouse_closureChanges data: removes one closure (or opening) from the warehouse calendar, as the person who connected this app, and records it in the organization's audit log. The days follow the weekly schedule and the public holidays again, which moves the collect_by dates for everyone in the organization. It cannot be undone, only added again with add_warehouse_closure. Use it only when the user asks to remove or cancel a closure, and confirm which one (days, note) before calling it. Get the closure_id from the closures of get_warehouse. Answers with the closure as it was. A repeat answers "not found", because the closure is already gone.
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": {
"closure_id": "<closure_id>"
},
"name": "remove_warehouse_closure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closure_id | Yes | A closure id such as "wcl_9", as returned by get_warehouse or add_warehouse_closure. |