Cancel return
cancel_returnCancel a requested or approved return that has not yet been refunded, using the order ID and return ID. Stops further processing of the return in your Cmssy workspace.
Instructions
Cancel a requested or approved return that has not been refunded.
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": "cancel_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) |