---
title: "Получить активных контрагентов для выбора поставщика"
method: GET
path: "/api/v1/stock/suppliers"
tags: ["Stock references"]
---

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

`GET /api/v1/stock/suppliers`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/stock/suppliers`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://erp.akeda.ru/oauth2/authorize`, token URL `https://erp.akeda.ru/oauth2/token`, scopes: `akeda:delegate`)
  - HTTP bearer

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

## Headers

- `X-Tenant` string, required

## Response `200`

Поставщики

- StockSupplierPage
  - `count` integer, required
  - `results` StockSupplier[], required
    - `id` string, uuid, required
    - `name` string, required
    - `kind` 'client' | 'supplier' | 'both', required: Legacy combined role; new clients read and patch is_customer/is_supplier independently.
    - `is_active` boolean, required

## Other responses

- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) · [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) · [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/a99574d597cc?raw)
