Marking stock documents

Отсканировать короб в инвентаризацию

Changed on

Раскрывает короб по скану SSCC и кладёт его коды единиц в пересчёт марок инвентаризации найденными или лишними — как при скане по одному. Код товара вне снимка или немаркируемого — в skipped с причиной. Ответ несёт пересчёт после скана.

post/api/v1/marking/inventories/{id}/codes/scan-box

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

MarkingBoxScanInput required
raw, string required

Скан марки или SSCC

Response

Итог раскрытия и пересчёт

MarkingBoxInventoryScanResult required
box, MarkingBox required
source, 'own' | 'gismt' required
units, integer required
added, integer required
already, integer required
skipped, integer required
skipped_codes, MarkingBoxExpandSkip[] nullable required
shortage, MarkingBoxShortage[] nullable required
inventory, MarkingInventoryCodes 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

    2 more changes in this revision