inventory_upsertStockTransferLine

WRITE

Upsert stock transfer line.

Parameters

stockTransferIdstringrequired
itemIdstringrequired
idstringoptional
fromStorageUnitIdstringoptional
toStorageUnitIdstringoptional
quantitynumberoptional
pickedQuantitynumberoptional
requiresBatchTrackingstringoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "inventory_upsertStockTransferLine",
  "arguments": {
    "stockTransferId": "string",
    "itemId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "stockTransferId": {
      "type": "string"
    },
    "itemId": {
      "type": "string"
    },
    "fromStorageUnitId": {
      "type": "string"
    },
    "toStorageUnitId": {
      "type": "string"
    },
    "quantity": {
      "type": "number"
    },
    "pickedQuantity": {
      "type": "number"
    },
    "requiresBatchTracking": {
      "type": "string"
    }
  },
  "required": [
    "stockTransferId",
    "itemId"
  ]
}