Stock references

Получить активных контрагентов для выбора поставщика

Changed on

Это урезанная подстановка из справочника контрагентов, а не карточки; полные карточки отдаёт модуль core. Поставщиком документа может быть любой активный контрагент — роль kind документ не ограничивает; заведённые поставщиками (supplier, both) идут первыми.

get/api/v1/stock/suppliers

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

Поставщики

StockSupplierPage required
count, integer required
results, StockSupplier[] required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property reason to the response with the status

    1 more change in this revision