Settings integrations

Проверить подключение снова

Changed on

Спрашивает платформу с сохранённым токеном и записывает итог — и отказ тоже, чтобы экран показал отозванный ключ. Сведения о магазине при отказе не стираются. Токен в ответ не попадает.

post/api/v1/settings/integration-connections/{provider}/check

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

provider, 'yandex_kit' | 'ozon_retail' | 'cdek' | 'fresh_logic' | 'fcq' required

Платформа — yandex_kit, ozon_retail, cdek, fresh_logic или fcq

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Подключение с итогом проверки

SettingsIntegrationConnectionEnvelope required
connection, SettingsIntegrationConnection required

Changes

    • warning

      added the new fcq enum value to the connection/provider response property for the response status

    • info

      added the new enum value fcq to the path request parameter provider

    • warning

      added the new fresh_logic enum value to the connection/provider response property for the response status

    1 more change in this revision