Delete item
delete_itemRequires items.delete. Delete one item in this organization. Pass item_id and optional sheet_number. For many rows use bulk_delete_items. The first call returns confirm_token and already lists live draft stock movements that block this item. Refused with 409 when the item is on a live draft stock movement; cancel or delete those drafts first. Posted stock movement lines keep history and do not block. Two-step confirm_token: the first call without confirm_token only returns confirmation_required, a summary, and confirm_token. That call does not write, delete, cancel, or send. The second call must repeat the same arguments plus that confirm_token; that is the write. A confirm boolean is ignored. The token expires in 5 minutes and works once.
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": {
"item_id": "<item_id>"
},
"name": "delete_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| sheet_number | No | ||
| confirm_token | No |