Core trade

Сменить воронку продажи

Changed on

Другая воронка одним выбором (или null — без воронки): невыполненные шаги прежней убираются, шаги новой строятся, выполненные остаются; этап — первый этап новой воронки в текущем состоянии.

put/api/v1/core/sales/{id}/funnel

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Request body

CoreOrderFunnelChoice required
funnel_id, string uuid nullable required

Response

Воронка и шаги продажи

CoreOrderFunnelView required
funnel_id, string uuid
funnel_name, string
steps, CoreOrderStepState[] required

Changes

    • info

      the endpoint scheme security erpUserToken was removed from the API

    • info

      the endpoint scheme security installationToken was removed from the API

    • info

      the endpoint scheme security mcpOAuth was removed from the API

    1 more change in this revision