Receive return
receive_returnRecords an incoming return parcel, capturing received units per line and restock quantities so stock is adjusted only for units returned to inventory.
Instructions
Record the return parcel as received: how many units of each line arrived and how many go back to stock. Stock is adjusted by the restocked units only.
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>",
"lines": "<lines>"
},
"name": "receive_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| lines | Yes | ||
| orderId | Yes | ||
| returnId | Yes | The return's id (get_order) |