wb_stocks_update
Update FBS stock for a Wildberries warehouse by sending a list of SKU and amount pairs. Ensure field names are exact, as invalid ones return success without updating.
Instructions
Update FBS stock. Field names are not validated: a typo returns 204 with no update (обновить остатки).
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": {
"warehouse_id": "<warehouse_id>",
"stocks": "<stocks>"
},
"name": "wb_stocks_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stocks | Yes | [{sku, amount}, ...] | |
| warehouse_id | Yes |