Core directories

Переоценить по правилам

Считает цены видов с правилом (база + наценка + округление) и создаёт черновик установки цен «было / станет». Цены не меняются, пока черновик не проведут.

post/api/v1/core/price-sets/revaluation

Request

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

datestring date
price_type_idsUUID[]

Виды с правилом; пусто — все виды с правилом.

category_idsUUID[]
product_idsUUID[]
only_changedboolean

В черновик — только строки, где цена меняется.

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.