> For the complete documentation index, see [llms.txt](https://wiki.indeepa.com/2.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.indeepa.com/2.0/nastroika-repraisera/yandeks-market/kak-obnovit-api-token.md). Agents can also search and read this documentation through its [MCP server](https://wiki.indeepa.com/2.0/~gitbook/mcp).

# Как обновить API-токен

Срок действия API-токена в Яндекс Маркете не ограничен. Однако бывают ситуации, когда токен необходимо заменить.&#x20;

Например, у вас было два магазина, и вы решили подключить третий. При создании нового токена в Яндекс Маркете он отображается **только один раз** — сразу после создания. Если вы закрыли окно с токеном и не сохранили его, посмотреть этот токен повторно невозможно.

В этом случае вам нужно создать новый токен в Яндекс Маркете и заменить его **во всех магазинах**, которые подключены к репрайсеру — и в старых, и в новом.

### Шаг 1. Создание нового токена в Яндекс Маркете

1. Откройте личный кабинет Яндекс Маркет.
2. В левом меню перейдите в раздел **«API и модули»**.
3. В блоке «Токены авторизации» нажмите кнопку **«Создать новый токен»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FJn3TTNJU6VeLzQmhF4VX%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA3.png?alt=media&amp;token=8762c62e-3691-4f62-ace2-7800020b4880" alt=""><figcaption></figcaption></figure>

4. В открывшемся окне заполните данные:

* **Название:** введите понятное имя, например, INDEEPA\_2026.
* **Доступы:** выберите ключ доступа с правами на полное управление кабинетом.
* **Срок действия:** обязательно выберите опцию «Бессрочный».
* Нажмите кнопку **«Создать»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2F0B7hhVstABOKgsuVFQpn%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA4.png?alt=media&amp;token=4feb0d2d-aa67-407d-919d-b32671d02c95" alt=""><figcaption></figcaption></figure>

5. Откроется отдельное окно с сообщением «Токен создан» и отображением самого ключа. **Токен отображается в этом окне только один раз**. Скопируйте его и сохраните в любом удобном для вас текстовом редакторе.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2Fbo8O8OAP6huKD3RPzCDi%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA5.png?alt=media&amp;token=a7fe26a8-bd8e-4329-9cd6-262241351f16" alt=""><figcaption></figcaption></figure>

### Шаг 2. Замена токена в репрайсере INDEEPA

1. В репрайсере INDEEPA перейдите в раздел **«Аккаунты»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FzCaFctFMNpU15n3fOMdi%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA1.png?alt=media&amp;token=e25510b8-015f-4222-8e8a-0e6e47764786" alt="" width="138"><figcaption></figcaption></figure>

2. Найдите в списке магазин, для которого нужно обновить токен, и нажмите на значок ключика справа от названия магазина.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FQo9IV6IaKbU2NnCOPFS2%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA44.png?alt=media&amp;token=843c942f-60b4-4fcf-b992-0d43ae4a1daf" alt=""><figcaption></figcaption></figure>

3. В открывшемся окне «Редактирование API ключей» найдите поле **«Yandex API-Key-токен»**. Нажмите на значок карандаша справа от этого поля.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FQhWi40trCcnNvWLvlUXt%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA45.png?alt=media&amp;token=31f7b73e-6f77-48b0-9844-fc03640d9447" alt=""><figcaption></figcaption></figure>

4. В открывшемся окне вставьте новый токен, который вы скопировали в Шаге 1.
5. Нажмите кнопку **«Сохранить»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FyJ746sQESMX350MGUx6w%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA46.png?alt=media&amp;token=db3701a5-910a-4fff-b60a-7bcb5ae0f9b3" alt=""><figcaption></figcaption></figure>

6. Нажмите кнопку **«Сохранить»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FPVYTnkiiohEyrUIxTrkL%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA47.png?alt=media&amp;token=12f49176-3134-4fa4-924f-41b85e3bca88" alt=""><figcaption></figcaption></figure>

7. **Повторите шаги 2–6 для всех магазинов**, которые подключены к репрайсеру, включая ранее созданные.

{% hint style="warning" %}
**Важно:** Если у вас несколько магазинов на Яндекс Маркете, новый токен нужно прописать в каждом из них. Иначе репрайсер не сможет работать с теми магазинами, где остался старый токен.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.indeepa.com/2.0/nastroika-repraisera/yandeks-market/kak-obnovit-api-token.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
