Marking labels

Задать, где используется шаблон этикетки

Changed on

«Где используется» из самого шаблона (ERP-2185): шаблон встаёт по умолчанию для всего остального (general), на названные каналы продаж, контрагентов и товары; его прежние назначения, которых в списке нет, снимаются. Канал, контрагент или товар с другим шаблоном того же вида получает этот. Печать берёт самый частный: товар → контрагент → канал → готовый шаблон канала → общий. Нужно право администратора маркировки.

put/api/v1/marking/label-templates/{id}/usage

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 required

Шаблон этикетки: идентификатор своего или ключ системного («system:product:58x40:product»)

Headers

X-Tenant, string required

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

Request body

MarkingLabelTemplateUsage required
general, boolean required

По умолчанию для всего остального

channels, string[] required
contacts, string[] required
products, string[] required

Response

Где используется шаблон

MarkingLabelTemplateUsage required
general, boolean required

По умолчанию для всего остального

channels, string[] required
contacts, string[] required
products, string[] 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