Stock warehouses
Получить список складов кабинета
Changed onОтдаёт склады кабинета без фильтра и без страниц; порядок задаёт сам справочник. Роль с правилом «Склады: свои» (record_rules stock.warehouse = own) получает только склады, где человек в списке «Работают на складе», с их зонами.
get/api/v1/stock/warehouses
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Query parameters
purpose, 'destination'
destination — склады, куда можно отправить перемещение: вся область без сужения правилом «Склады: свои» (ERP-1978). Без параметра роль «Склады: свои» получает только свои склады с зонами
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Список складов
Stock Warehouse Page required
count, integer required
results, Stock Warehouse[] required
Changes
- info
added the optional property
results/items/assembly_bin_idto the response with the status
- info
- info
added the optional property
results/items/transit_shortageto the response with the status
- info