Marking labels

Задать шаблон этикетки по умолчанию

Changed on

Задаёт шаблон по умолчанию вида kind — общий, у канала продаж или у контрагента; пустой template_id снимает его. Вид шаблона — вид умолчания; канал — действующий код справочника «Каналы продаж»; канал, который принимает только EAN/UPC, не получит шаблон Code 128. Ответ — все умолчания. Нужно право администратора маркировки.

put/api/v1/marking/label-defaults

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

MarkingLabelDefaultInput required
kind, 'marking' | 'product' required
scope, 'general' | 'channel' | 'contact' | 'product' required
ref, string
template_id, string

Пусто — снять шаблон по умолчанию

Response

Шаблоны по умолчанию

MarkingLabelDefaults required
items, MarkingLabelDefault[] 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