Stock warehouses
Закрепить людей за складом
Changed onСтавит участников кабинета в список «Работают на складе» (ERP-1978). Повтор не меняет список. Закрепляют за самим складом — зону и склад «в пути» назвать нельзя (400, код stock.warehouse_staff.place); человек должен быть действующим участником кабинета (400, код stock.warehouse_staff.user). Нужно право stock.settings:write.
post/api/v1/stock/warehouses/{id}/staff
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
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Stock Warehouse Staff Input required
user_ids, integer[] required
Участники кабинета (id учётной записи)
Response
Люди склада после правки
Stock Warehouse Staff Page required
count, integer required
results, Stock Warehouse Staff Member[] 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