create_refund
Issue refunds for Shopify orders by order ID, including optional line-item and shipping refunds and customer notification.
Instructions
Create a refund for an 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": {
"orderId": "<orderId>"
},
"name": "create_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note/reason for the refund | |
| notify | No | Notify customer about the refund (default: true) | |
| orderId | Yes | Order ID to refund | |
| shipping | No | Shipping refund options | |
| refundLineItems | No | Line items to refund |