Stock warehouses
Получить матрицу разнесения остатка по зонам
Changed onСтроки — товары с ненулевым остатком, столбцы — зоны склада. Направление задаётся явно, потому что и разнесение, и сведение обратно происходят при включённом признаке зональности.
get/api/v1/stock/warehouses/{id}/zones/allocation
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
Path parameters
id, string uuid required
Query parameters
direction, 'to_zones' | 'to_warehouse'
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Матрица разнесения
Stock Zone Allocation required
warehouse_id, string uuid required
zones_enabled, boolean required
direction, 'to_zones' | 'to_warehouse' required
zones, Stock Warehouse[] required
rows, Stock Zone Stock Row[] required
draft, Stock Zone Allocation Input nullable
Changes
- info
added the optional property
zones/items/assembly_bin_idto the response with the status
- info
- info
added the optional property
zones/items/transit_shortageto the response with the status
- info