wc_delete_refund tool reference for StifLi Flex MCP
Writedeletes a refund by ID.
Description
deletes a refund by ID.
What it is for
- Correcting refunds that were created by mistake.
Example use case
refund correction.
Sample prompt
Delete refund ID 211 because it was created on the wrong order.
Sample response
{
"tool": "wc_delete_refund",
"status": "ok",
"updated": true
}
What does wc_delete_refund do?
deletes a refund by ID.
Does wc_delete_refund modify store data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_shop_orders and the active MCP profile.
How should wc_delete_refund be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
