Core directories

Отменить документ цен

Changed on

Отменяет проведение документа цен: движения сторнируются, цена на дату снова прежняя. Черновик отбрасывается.

post/api/v1/core/price-sets/{id}/cancel

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Документ

CorePriceSet 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, CorePriceSetLine[] required
line_count, integer required
warnings, CorePriceWarning[]

Предупреждения: цены ниже минимальной или РРЦ. Проведению не мешают.

created_by, string
created_at, string required
posted_at, string
cancelled_at, string
updated_at, string required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    9 more changes in this revision