Stock handling units
Подобрать физические единицы под требуемое количество
Changed onПодбор идёт по вскрытым и запечатанным активным единицам в порядке выдачи; complete=false означает, что склада не хватило.
get/api/v1/stock/handling-units/suggestions
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
business_id, string uuid
Бизнес подбора; нужен бизнес или юрлицо. Без юрлица подбираются только единицы без юрлица этого бизнеса
company_id, string uuid
Юрлицо подбора; при заданном business_id обязано относиться к нему
warehouse_id, string uuid required
product_id, string uuid required
qty, string required
Положительный decimal в базовой единице товара
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Раскладка подбора
Stock Handling Unit Suggestion Result required
requested_qty, string required
allocated_qty, string required
complete, boolean required
false означает, что доступных единиц не хватило на всё количество
allocations, Stock Handling Unit Suggestion[] required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info