Marking boxes

Завести короб

Changed on

Заводит свой короб в состоянии «собирается» с новым SSCC: цифра расширения, префикс GS1 юрлица из настроек маркировки, серийная часть из счётчика префикса и контрольная цифра GS1. Товарная группа — названная (включённая у юрлица) или единственная включённая. Без префикса GS1 — 409 marking.boxes.gs1_prefix_required.

post/api/v1/marking/boxes

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

Headers

X-Tenant, string required

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

Request body

MarkingBoxCreateInput required
company_id, string uuid required
group, string

Товарная группа; пусто — единственная включённая у юрлица

Response

Карточка нового короба

MarkingBoxCard required
box, MarkingBox required
items, MarkingBoxItem[] nullable required
products, MarkingBoxProduct[] nullable required
printable, 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