ym_get_raw
Read any Yandex Market API endpoint by path, including routes missing from the catalog, using safe verbs such as GET. Returns status and data as JSON.
Instructions
Read ANY endpoint by path, including ones missing from the catalog.
Target API: https://yandex.ru/dev/market/partner-api/doc/ru/.
Safe verbs only (GET, HEAD, OPTIONS). To change data use ym_write_raw, to delete use ym_delete_raw.
Args: path: full path beginning with '/', e.g. "/v2/regions". method: safe verb, GET by default. host: host override; defaults to the service's default host. query: query-string parameters. body: JSON request body (rare on reads; some APIs want one). Returns JSON: {"ok": true, "status", "data"} or the error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| host | No | ||
| path | Yes | ||
| query | No | ||
| method | No | GET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |