orders_refund_order
Refund a paid order in full or partially. Provide an order ID and optionally specify the amount.
Instructions
Issue a full or partial refund against a paid order.
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>"
},
"name": "orders_refund_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to refund; omit for a full refund. | |
| order_id | Yes | Order to refund. |