Skip to main content
GET
Get chart data

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<date>
period_to
string<date>
selection
enum<string>
Available options:
revenue,
commissions,
clicks,
referrals,
customers,
cancellations

Response

401 - application/json

Unauthorized — the Bearer access token is missing, invalid, expired, or revoked. No JSON response body is returned.

The response is of type object.