Get Stocks
get_stocksRetrieve current stock levels for products across all warehouses, including available and reserved quantities. Filter by offer IDs, product IDs, or visibility, with pagination support.
Instructions
Get current stock levels for products across all warehouses. Returns present (available) and reserved quantities for each warehouse type. Optionally filter by offer_ids or product_ids. Supports pagination via cursor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (default: 100) | |
| cursor | No | Cursor for pagination (from previous response) | |
| offer_ids | No | Filter by seller article IDs | |
| visibility | No | Filter by visibility. Default: ALL | |
| product_ids | No | Filter by Ozon product IDs |