# Настройка API

Первое и самое главное что нужно настроить, для того чтобы мы начали работать с Вашим аккаунтом - это подключение по API.

## ⚙️ Для того чтобы настроить раздел API <a href="#dlya-togo-chtoby-nastroit-razdel-api" id="dlya-togo-chtoby-nastroit-razdel-api"></a>

1. Зайдите в Connect:
   * в МойСклад в [WILDBERRIES CONNECT](https://online.moysklad.ru/app/#apps?id=d422d996-9d6e-4605-a9a3-05855c06f984)
   * в отдельную версию [TOPSELLER PRO](https://pro.topseller.ru/)
2. Нажмите на логотип маркетплейса <img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Flogo%2Flogo_wb.svg&#x26;width=40&#x26;dpr=4&#x26;quality=100&#x26;sign=9a1cf560&#x26;sv=2" alt="" data-size="line">
3. Затем нажмите на аккаунт, чтобы открылись настройки аккаунта

<figure><img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_wb%2Fstroke%2F%25D0%25B2%25D1%258B%25D0%25B1%25D0%25BE%25D1%2580_%25D0%25B0%25D0%25BA%25D0%25BA_%25D0%25B2%25D0%25B1_%25D0%25BE%25D0%25B1%25D0%25B2.gif&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b6a22e1&#x26;sv=2" alt=""><figcaption></figcaption></figure>

4. Перейдите в раздел `АПИ` . Выберите `Схему работы маркетплейса` и задайте удобное для Вас `Название магазина`:

* FBW (со склада Wildberries) - схема продажи, при которой ваши товары хранятся на складах Wildberries, и Wildberries отвечает за их сборку, упаковку и доставку покупателям своими силами.
* FBS (со своего склада) - схема продажи, при которой вы храните товары у себя на складе, следите за новыми заказами, собираете их и передаёте в службу доставки Wildberries.

<figure><img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_wb%2Fstroke%2F%25D0%25B2%25D1%258B%25D0%25B1%25D0%25BE%25D1%2580_%25D0%25B0%25D0%25BA%25D0%25BA_%25D1%2581%25D1%2585%25D0%25B5%25D0%25BC%25D1%2583_%25D0%25B2%25D0%25B1_%25D0%25BE%25D0%25B1%25D0%25B2.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=325543dd&#x26;sv=2" alt=""><figcaption></figcaption></figure>

5. Нужно заполнить `Новый универсальный токен` и нажать кнопку <img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_common%2Fstroke%2F%25D0%25BA%25D0%25BD%25D0%25BE%25D0%25BF%25D0%25BA%25D0%25B0_%25D1%2581%25D0%25BE%25D1%2585%25D1%2580%25D0%25B0%25D0%25BD%25D0%25B8%25D1%2582%25D1%258C_%25D1%2582%25D0%25BE%25D0%25BF%25D1%2581%25D0%25B5%25D0%25BB%25D0%25BB%25D0%25B5%25D1%2580_%25D0%25BE%25D0%25B1%25D0%25B2_2.png&#x26;width=193&#x26;dpr=4&#x26;quality=100&#x26;sign=3fa11943&#x26;sv=2" alt="" data-size="line">. Получить его можно в настройках Личного кабинета Wildberries в разделе [Доступ к API](https://seller.wildberries.ru/supplier-settings/access-to-api) (сгенерировать с любым именем и доступом к Контент + Маркетплейс *(отсеивание дублей)* + Статистика + Цены и скидки)

<figure><img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_wb%2Fstroke%2F%25D0%25B2%25D0%25B1_api_new_%25D0%25BE%25D0%25B1%25D0%25B2.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e511eb62&#x26;sv=2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
🧙‍♂️ **Примечание:** API ключ можно использовать общий для FBS и FBW
{% endhint %}

{% hint style="danger" %}
Кнопка <img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_common%2Fstroke%2F%25D0%25BA%25D0%25BD%25D0%25BE%25D0%25BF%25D0%25BA%25D0%25B0_%25D1%2581%25D0%25BE%25D1%2585%25D1%2580%25D0%25B0%25D0%25BD%25D0%25B8%25D1%2582%25D1%258C_%25D1%2582%25D0%25BE%25D0%25BF%25D1%2581%25D0%25B5%25D0%25BB%25D0%25BB%25D0%25B5%25D1%2580_%25D0%25BE%25D0%25B1%25D0%25B2_2.png&#x26;width=193&#x26;dpr=4&#x26;quality=100&#x26;sign=3fa11943&#x26;sv=2" alt="" data-size="line"> может находиться в правой области браузера - особенность интерфейса Connect для МоегоСклада, который технически не позволяет разместить ее внизу формы, как все привыкли. И пользователи её теряли за полосой прокрутки. Поэтому теперь она находится справа - чтобы всегда быть в доступе и на виду.
{% endhint %}

<figure><img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_wb%2Fstroke%2F%25D0%25B2%25D0%25B1_%25D0%25B0%25D0%25B2%25D1%2582%25D0%25BE%25D1%2580%25D0%25B8%25D0%25B7%25D0%25B0%25D1%2586%25D0%25B8%25D1%258F_%25D0%25BE%25D0%25B1%25D0%25B2.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=9dcb01d7&#x26;sv=2" alt=""><figcaption></figcaption></figure>

6\. После успешной авторизации по API **обязательно** включите аккаунт

<figure><img src="https://help.topseller.ru/~gitbook/image?url=https%3A%2F%2Fstatic.connect.topseller.ru%2Fsomething%2Fhelp%2Ffaq_common%2Fstroke%2F%25D0%25B2%25D0%25BA%25D0%25BB_%25D0%25B0%25D0%25BA%25D0%25BA%25D0%25B0%25D1%2583%25D0%25BD%25D1%2582_%25D0%25BE%25D0%25B1%25D0%25B2.png&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2e84de68&#x26;sv=2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.topseller.ru/instruction/ts-connect/wildberries/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
