upsert_stock_transfer
Create or update a stock transfer between locations to move inventory items, quantities, serial numbers, and transfer details.
Instructions
[LEGACY IMMEDIATE WRITE — HIGH RISK: BYPASSES INFLOW_ENABLE_SAFE_WRITES] Use set_stock_transfer instead. Create or update a stock transfer between locations
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": {
"fromLocationId": "<fromLocationId>",
"toLocationId": "<toLocationId>",
"items": "<items>"
},
"name": "upsert_stock_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Transfer ID (required for updates) | |
| items | Yes | Items to transfer | |
| remarks | No | Notes/remarks | |
| timestamp | No | ||
| customFields | No | ||
| toLocationId | Yes | Destination location ID | |
| transferDate | No | Transfer date (ISO format) | |
| fromLocationId | Yes | Source location ID |