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.
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 |