Reject return
reject_returnRejects a customer-requested return by order and return ID, freeing its items for another return and optionally recording a note in the return history.
Instructions
Reject a return the customer requested; it frees its items for another return.
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": "reject_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) |