Core directories

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

Changed on

Возвращает только действующие юрлица, доступные участнику запроса: человеку или служебному участнику установки приложения. Поля сокращены до тех, что нужны продавцу для продажи или закупки и счёта; внутренние поля и чужие юрлица не выдаются. Доступ — core:read или раздел продаж и закупок core.trade:read: юрлицо в форме продажи выбирает и менеджер без права на весь модуль.

get/api/v1/core/seller-companies

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
    • or HTTP bearer

Headers

X-Tenant, string required

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

Response

Доступные юрлица

CoreSellerCompanyList required
companies, CoreSellerCompany[] required

Changes

    • info

      the endpoint scheme security erpUserToken was added to the API

    • info

      the endpoint scheme security installationToken was added to the API

    • info

      the endpoint scheme security mcpOAuth was added to the API

    1 more change in this revision