Core directories

Изменить цену товара в канале

Changed on

Ставит цену товара по виду цены канала документом «Установка цен»: черновик, post=true — сразу провести. У канала без своего вида цены — отказ: сначала coreCreateChannelPriceType. Пример: {"channel_id": "…", "product_id": "…", "price": "1490", "date": "2026-10-20"}.

post/api/v1/core/prices/channels

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
    • or HTTP bearer

Headers

X-Tenant, string required

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

Request body

CoreChannelProductPriceInput required
channel_id, string uuid required
product_id, string uuid required
price, string required
date, string date
post, boolean

Response

Установка цен канала

CorePriceSet required

Документ «Установка цен»: цены вступают в силу с его даты после проведения; отмена проведения возвращает прежние.

id, string uuid required
number, string required
date, string date required
status, 'draft' | 'posted' | 'cancelled' required
source, string required

Откуда документ: manual, revaluation, import, card, system.

comment, string required
lines, CorePriceSetLine[] required
line_count, integer required
warnings, CorePriceWarning[]

Предупреждения: цены ниже минимальной или РРЦ. Проведению не мешают.

created_by, string
created_at, string required
posted_at, string
cancelled_at, string
updated_at, string required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision