WooCommerce: Delete order
woocommerce_delete_orderPermanently delete a WooCommerce order or move it to trash by specifying the site and order ID, giving you control over unwanted or test orders.
Instructions
[UNIFIED] Delete or trash a WooCommerce order. Can permanently delete or move to trash.
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": {
"site": "<site>",
"order_id": "<order_id>"
},
"name": "woocommerce_delete_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| force | No | ||
| order_id | Yes |