Marking codes

Заменить марку на складе

Changed on

Повтор замены марки на складе, если после принятия документа ЧЗ она не прошла сама: внутренний документ «Перемаркировка» — прежняя марка −1, новая +1 на том же складе. Уже заменённая — без изменений.

post/api/v1/marking/remarks/{id}/swap

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 выбранного кабинета; кабинет не является юрлицом

Response

Перемаркировка с заменой на складе

MarkingRemark required
id, string uuid required
company_id, string uuid required
group, string required
reason, 'KM_SPOILED' | 'DESCRIPTION_ERRORS' required
source, 'card' | 'return' | 'stock' | 'manual' required
basis_type, string
basis_id, string uuid
due_date, string date
order_id, string uuid
application_id, string uuid
document_id, string uuid
stock_document_id, string uuid
note, string
cancelled_at, string date-time
created_by, integer
created_at, string date-time required
items, MarkingRemarkItem[] required
stage, 'collecting' | 'labeling' | 'applying' | 'ready' | 'sent' | 'rejected' | 'done' | 'cancelled' required

Шаг перемаркировки

overdue, boolean required

Срок прошёл, а марка на складе не заменена

paired, integer required

Пар с новой маркой

release_method, string required

Способ выпуска новых кодов группы: REMARK, у косметики — REAPPLY; пусто — ни того, ни другого

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