Marking orders

Отметить коды заказа испорченными

Changed on

Ставит или снимает отметку «испорчен» у кодов заказа: этикетка утрачена или испорчена до ввода в оборот. Испорченный код не печатается и не попадает в отчёт о нанесении; в ЧЗ ничего не уходит, отметку можно снять. Код в отчёте о нанесении, который ещё обрабатывается, и код в обороте — 409 marking.lifecycle.spoil_state.

post/api/v1/marking/orders/{id}/codes/spoil

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Заказ кодов

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

MarkingSpoilInput required
code_ids, UUID[] required
spoiled, boolean required

true — отметить испорченными, false — снять отметку

note, string

Что случилось: испорчена, утрачена

Response

Сколько кодов изменилось

object required
changed, integer required

У скольких кодов отметка изменилась

Changes

    • info

      added the optional property place to the response with the status

    • info

      added the optional property place to the response with the status

    • info

      added the optional property place to the response with the status