Stock warehouses
Создать документ по операции внешнего склада
Changed onЧерновик документа склада по факту оператора датой операции, строки — товары и партии оператора. shipment с order_id — привязка к заказу.
post/api/v1/stock/wms/operations/{id}/create
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 WMSOperation Create Input required
document_kind, 'shipment' | 'writeoff' | 'transfer' | 'receipt' | 'capitalization' | 'customer_return' | 'inventory' required
date, string date
Пусто — день операции
order_id, string uuid nullable
reason_id, string uuid nullable
contact_id, string uuid nullable
target_warehouse_id, string uuid nullable
reason, string
Название причины списания; для writeoff обязательно
Response
Карточка операции
Stock WMSOperation Card required
object
lines, Stock WMSOperation Line[] required
document_lines, Stock WMSOperation Line[] required
candidates, Stock WMSOperation Candidate[] required
Changes
- info
added the new optional request property
contact_id - info
added the new optional request property
target_warehouse_id
- info
- info
endpoint added
- info