Marking orders
Отметить коды заказа испорченными
Changed onСтавит или снимает отметку «испорчен» у кодов заказа: этикетка утрачена или испорчена до ввода в оборот. Испорченный код не печатается и не попадает в отчёт о нанесении; в ЧЗ ничего не уходит, отметку можно снять. Код в отчёте о нанесении, который ещё обрабатывается, и код в обороте — 409 marking.lifecycle.spoil_state.
post/api/v1/marking/orders/{id}/codes/spoil
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
Path parameters
id, string uuid required
Заказ кодов
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Marking Spoil Input required
code_ids, UUID[] required
spoiled, boolean required
true — отметить испорченными, false — снять отметку
note, string
Что случилось: испорчена, утрачена
Response
Сколько кодов изменилось
object required
changed, integer required
У скольких кодов отметка изменилась
Changes
- info
added the optional property
placeto the response with the status - info
added the optional property
placeto the response with the status - info
added the optional property
placeto the response with the status
- info