Core directories

Назначить вид цены

Changed on

Назначает вид цены контрагенту, договору или каналу продаж либо снимает его (price_type_id = null). У контрагента — ещё скидка в процентах.

put/api/v1/core/price-assignments

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

Headers

X-Tenant, string required

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

Request body

CorePriceAssignmentInput required
kind, 'contact' | 'contract' | 'channel' required
id, string uuid required
price_type_id, string uuid nullable
discount_percent, string

Скидка контрагента в процентах; только для kind=contact.

Response

Назначение сохранено

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