Stock: get
stock_get_stocks_infoRetrieve current stock quantities for listings. Provides available quantity, unlimited/multiple/out-of-stock flags for each item ID.
Instructions
Reads current stock (available quantity) for a list of listings in the warehouse (get_stocks_info). Read-only, changes nothing. Returns for each item_id: quantity (available = submitted/edited minus reserved), is_unlimited, is_multiple, is_out_of_stock. To change stock, use stock_update_stocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_ids | Yes | IDs of the listings on the Avito website (item_id) to get stock for; from 1 to 200 per request. | |
| strong_consistency | No | If true, skip the cache and return data from the database (strong consistency): fresher but slower. By default data may be served from the cache. Optional. |