ym_get_prices
Retrieve base offer prices for all shops in a Yandex Market business cabinet. Supports offer ID filters, pagination, and returns price values, currencies, discount base, and update timestamps.
Instructions
Base prices set for all shops of the cabinet (POST /v2/businesses/{businessId}/offer-prices).
Args: business_id: cabinet id. offer_ids: comma-separated offerId filter; empty = all. page_token: pageToken from a previous page. limit: page size (<=200). Returns JSON with result.offers[].price {value, currencyId, discountBase, updatedAt}.
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": {
"business_id": "<business_id>"
},
"name": "ym_get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offer_ids | No | ||
| page_token | No | ||
| business_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |