CRM analytics

Переписать расходы на рекламу за месяц

Changed on

Расходы правят таблицей месяца, поэтому сохранение переписывает месяц целиком; строка с нулём убирается, повтор кампании складывается. Правит администратор CRM.

put/api/v1/crm/ad-costs

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Headers

X-Tenant, string required

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

Request body

CRMAdCostsInput required

Расходы месяца целиком: сохранение переписывает месяц

period, string

YYYY-MM или YYYY-MM-DD; пусто - текущий месяц

items, object[] required

Response

Расходы месяца после сохранения

CRMAdCosts required

Расходы на рекламу за месяц

period, string date required
items, CRMAdCost[] required
known_campaigns, 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

    5 more changes in this revision