delete_food_order
Move a food order to the trash bin. Orders are not permanently deleted and can be restored from the WooCommerce orders screen.
Instructions
Move a food order to trash. The order is not permanently deleted — it can be restored from the WooCommerce orders screen.
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>"
},
"name": "delete_food_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | WooCommerce order ID to trash |