Delete an item
delete_itemFor shop owners: delete one thing from the shop, by kind and name or id: a listing, drop, page, post, coupon, pickup place or delivery zone. It always waits for the seller's tap: the reply is needs_confirmation, at its link she sees exactly what goes, and nothing happens until she confirms. Orders already taken keep what they hold, and a drop that has orders is refused. It does not hide a listing and keep it: save_listing status: archived does. Customers and orders cannot be deleted.
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": {
"kind": "<kind>",
"item": "<item>",
"request_id": "<request_id>"
},
"name": "delete_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Its name or id: a listing's or drop's name, a page's path or title, a post's slug or title, a coupon's code, a place's or zone's name. | |
| kind | Yes | The kind of thing to delete. | |
| request_id | Yes | Unique per call; the same id again returns the first result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| next | No | ||
| error | No | ||
| choices | No | ||
| outcome | No | ||
| timezone | No | ||
| confirmation | No |