GET
/
promoters
/
chart_data
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/affiliate/promoters/chart_data \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Query Parameters

promoter_campaign_id
integer

If provided, the given promoter campaign will be used in chart. Otherwise all the current_promoter campaigns will be used.

period_from
string
period_to
string
selection
enum<string>
Available options:
revenue,
commissions,
clicks,
referrals,
customers,
cancellations

Response

401

Unauthorized