Core directories
Изменить черновик установки цен
Changed onЗаменяет черновик установки цен целиком; проведённую установку не правят — отменяют проведение или заводят новую.
put/api/v1/core/price-sets/{id}
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Core Price Set Input required
date, string date
Дата действия цен; пусто — сегодня кабинета.
comment, string
source, 'manual' | 'revaluation' | 'import' | 'card' | 'system'
lines, Core Price Set Line[] required
post, boolean
Сразу провести: цены вступают в силу.
Response
Установка цен
Core Price Set 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, Core Price Set Line[] required
line_count, integer required
warnings, Core Price Warning[]
Предупреждения: цены ниже минимальной или РРЦ. Проведению не мешают.
created_by, string
created_at, string required
posted_at, string
cancelled_at, string
updated_at, string required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
9 more changes in this revision
- info