> 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/ozon/kak-obnovit-api-token.md).

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

Токен для подключения кабинета маркетплейса действует **3 месяца**. После истечения срока его нужно обновить, чтобы репрайсер продолжал работать.

1. Откройте личный кабинет Ozon.
2. В левом меню перейдите в раздел **«Настройки»** → **«API интеграции»**.
3. Выберите вкладку «[Seller API](https://seller.ozon.ru/app/settings/api-keys)» и нажмите на кнопку **«Сгенерировать ключ»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FbW63No2ZfFmAsUhwHZqv%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA2.png?alt=media&amp;token=bc30cee9-73ac-4fb4-a421-e520b0cdbaf1" alt=""><figcaption></figcaption></figure>

4. В поле **«Название»** введите понятное вам имя для этого ключа. Например, INDEEPA — так вы сразу поймёте, для какого сервиса выдан этот доступ, когда будете просматривать список активных ключей.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FVFUSZF7pJGqyq2FTS3UV%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA3.png?alt=media&amp;token=289be844-3f15-4153-bec0-eb8f52a1849a" alt=""><figcaption></figcaption></figure>

5. Прокрутите ползунок вниз и найдите строку с ролью **«Admin»**. Поставьте галочку напротив неё. Нажмите кнопку **«Сгенерировать»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FyqLp0TMEtYkiEx9GMbQA%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA4.png?alt=media&amp;token=0ce3d45d-5400-421c-9bbb-a70cbba9a774" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2F7zLCIBp2zGfiFPeaTqUl%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA5.png?alt=media&amp;token=2591ea8c-1bf2-4008-89de-cbf639942491" alt=""><figcaption></figcaption></figure>

7. Перейдите в репрайсере Ozon в раздел **«Аккаунты»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FUEqN7BHsCW4zDeWBYejv%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA1.png?alt=media&amp;token=496d7dd3-d3b7-4475-8100-12f1da79c783" alt="" width="138"><figcaption></figcaption></figure>

8. Наведите курсор на нужный кабинет и нажмите значок **ключика**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FneOBDL5zK4hNen4fPWGM%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA6.png?alt=media&amp;token=00198796-5c10-4fdc-9e1d-96bfc73f46b6" alt=""><figcaption></figcaption></figure>

9. В строке **«Seller API Key»** нажмите на значок **карандаша**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FxsA76Fo7UqQHAYsBv2aK%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA7.png?alt=media&amp;token=c3c1a896-6d35-4639-be0f-1422c0aa0224" alt=""><figcaption></figcaption></figure>

10. В поле **«Изменить Seller API Key»** введите созданный API-токен и нажмите **«Сохранить»**.

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2Fw1phMbu2qrydBPR1Dw0r%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA8.png?alt=media&amp;token=65a69f56-3b50-4bd4-a7fb-3480fab945b4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://955551080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEhQTmEGR3odV7bjIaFYs%2Fuploads%2FnsZmy4vifWFfGXdObTE7%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA9.png?alt=media&amp;token=a5aafc90-0e75-4f44-9596-517ef71f2049" alt=""><figcaption></figcaption></figure>


---

# 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/ozon/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.
