delete_order_refund
Remove a refund record from a WooCommerce order. Permanently deletes the refund entry without reversing the payment.
Instructions
Delete a refund record from an order. This removes the refund entry but does not reverse the payment — use with caution.
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": {
"order_id": "<order_id>",
"id": "<id>"
},
"name": "delete_order_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Refund ID | |
| force | No | Must be true to permanently delete the refund | |
| fields | No | Comma-separated fields to return in response | |
| order_id | Yes | Order ID |