Core directories

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

Ставит цену товара по виду цены канала документом «Установка цен»: черновик, 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
  • URL: https://erp.akeda.ru/api/v1/core/prices/channels
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

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

Request body

channel_idstring uuid required
product_idstring uuid required
pricestring required
datestring date
postboolean

Response

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

idstring uuid required
numberstring required
datestring date required
status'draft' | 'posted' | 'cancelled' required
sourcestring required

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

commentstring required
line_countinteger required
created_bystring
created_atstring required
posted_atstring
cancelled_atstring
updated_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.