move_inventory_unit_quantity
Moves a quantity from a stock line to another status. If quantity is less than the line's quantity, the line is split (lot/custom fields are copied onto the new line). Use this for partial ship/receive of a lot line. Status accepts InStock, Ordered, Outbound or Damaged. Returns the line that holds the moved quantity.
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": {
"unitId": "<unitId>",
"quantity": "<quantity>",
"toStatus": "<toStatus>"
},
"name": "move_inventory_unit_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unitId | Yes | ||
| quantity | Yes | ||
| toStatus | Yes |