Core directories

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

Заменяет черновик установки цен целиком; проведённую установку не правят — отменяют проведение или заводят новую.

put/api/v1/core/price-sets/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/core/price-sets/{id}
  • 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

Request body

datestring date

Дата действия цен; пусто — сегодня кабинета.

commentstring
source'manual' | 'revaluation' | 'import' | 'card' | 'system'
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.