Docflow Yandex KIT

Итог последнего опроса Яндекс KIT

Changed on

Когда кабинет последний раз опрашивал API Яндекс KIT, с каким итогом (ok, token_rejected, rate_limited, unavailable, not_configured, retail_buyer_missing), сколько заказов сайта видел и изменил, до какого момента изменения KIT уже прочитаны (cursor_at) и не разошёлся ли режим подтверждения заказов с настройкой самого KIT (warning_code).

get/api/v1/docflow/yandex-kit/state

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

Headers

X-Tenant, string required

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

Response

Итог опроса

DocflowYandexKitStateEnvelope required
state, DocflowYandexKitSyncState required

Changes

    • info

      added the required property state/stock_code to the response with the status

    • info

      added the required property state/stock_run_at to the response with the status

    • info

      added the required property state/stock_sent to the response with the status

    2 more changes in this revision