Get Return
get_returnOne customer or supplier return as its page shows it: status, the customer or supplier, the order it came from, warehouse, and every line with the quantity returned, received back or damaged (customer) or shipped out (supplier) and what is still to do. A customer return also lists its return receipts and credit notes. nextStep says what to do with it now.
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": {
"returnId": "<returnId>"
},
"name": "get_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | customer or supplier, to disambiguate a number both kinds use. Optional. | |
| clientId | No | Optional client id (GUID) for operator (unpinned) credentials on 3PL tenants. | |
| returnId | Yes | Return id (GUID) or number from list_returns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| lines | No | ||
| number | No | ||
| status | No | ||
| nextStep | No | ||
| receipts | No | ||
| returnId | No | ||
| createdAt | No | ||
| partnerId | No | ||
| settlement | No | ||
| creditNotes | No | ||
| partnerName | No | ||
| warehouseId | No | ||
| internalNote | No | ||
| sourceOrderId | No | ||
| warehouseName | No | ||
| sourceOrderNumber | No |