Approve return
approve_returnApprove a customer-requested return using the order ID and return ID, with an optional note saved to the return history.
Instructions
Approve a return the customer requested.
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>",
"returnId": "<returnId>"
},
"name": "approve_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Saved in the return's history | |
| orderId | Yes | ||
| returnId | Yes | The return's id (get_order) |