Core directories

Отменить цены поставщика

Отменяет проведение документа «Цены поставщика» (ERP-2489): движения сторнируются, цена поставщика на дату снова прежняя. Черновик отбрасывается.

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

Request

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

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.