Create Return
create_returnCreate a return for an order item and specify the handling result. Returns a process status with the return ID for asynchronous processing.
Instructions
Create a return and automatically handle it with the provided handling result. When successfully created, the resulting return ID is provided in the process status. Returns a process status — the return is created asynchronously.
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": {
"orderItemId": "<orderItemId>",
"quantityReturned": "<quantityReturned>",
"handlingResult": "<handlingResult>"
},
"name": "create_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderItemId | Yes | The order item ID to create a return for. | |
| quantityReturned | Yes | The quantity of items returned. | |
| handlingResult | Yes | How the return should be handled. |