update_stocks
Update FBS product stock quantities for a specific warehouse using warehouse ID and an array of SKU and amount pairs.
Instructions
Update FBS product stocks at a specific warehouse
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": {
"warehouseId": "<warehouseId>",
"stocks": "<stocks>"
},
"name": "update_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stocks | Yes | Array of stock updates | |
| warehouseId | Yes | Warehouse ID (use get_warehouses) |