Create return
create_returnRequest a return of shipped order items by order ID, optionally with quantities and reasons; omit items to return all shipped items.
Instructions
Requests a return of order items (the customer is sending them back). Without 'items' returns every shipped item. When the parcel arrives, call receive_return. Refund the money separately with refund_payment. Return reasons are listed by get_store_info.
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": {
"order": "<order>"
},
"name": "create_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note | |
| items | No | Defaults to every shipped item | |
| order | Yes | Order ID or order number | |
| location_id | No | Where the goods return to; defaults to the only stock location | |
| notify_customer | No |