ym_call_method
Execute a read-only Yandex Market Partner API endpoint by operation ID, supplying path, query, or body parameters to retrieve data without changes.
Instructions
Execute one READ endpoint from the catalog by operation_id.
Target API: https://yandex.ru/dev/market/partner-api/doc/ru/.
Reads only: nothing here changes data, so it runs without confirmation. To change data use ym_write_method, to delete use ym_delete_method.
Args: operation_id: id from the catalog (see ym_search_methods). path_values: values for {placeholders} in the path. query: query-string parameters. body: JSON request body (a few read endpoints take one). Returns JSON: {"ok": true, "status", "data"} or the error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| query | No | ||
| path_values | No | ||
| operation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |