Core directories
Отменить документ цен
Changed onОтменяет проведение документа цен: движения сторнируются, цена на дату снова прежняя. Черновик отбрасывается.
post/api/v1/core/price-sets/{id}/cancel
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 выбранного кабинета; кабинет не является юрлицом
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