Skip to main content
GET
Retrieve affiliate
Required permissions:
  • affiliate:basic:read

Autorisationer

Authorization
string
header
påkrævet

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Scopes

affiliate:basic:read

Sti-parametre

id
string
påkrævet

The unique identifier of the affiliate.

Eksempel:

"aff_xxxxxxxxxxxxxx"

Svar

A successful response

An affiliate tracks a user's referral performance and commission earnings for a company, including retention rates, revenue metrics, and payout configurations.

active_members_count
integer
påkrævet

The total active members of the affiliate

Eksempel:

42

company
object
påkrævet

The company attached to this affiliate

created_at
string<date-time>
påkrævet

The datetime the affiliate was created.

Eksempel:

"2023-12-01T05:00:00.401Z"

customer_retention_rate
string
påkrævet

The percentage of referred customers who are still active members

customer_retention_rate_ninety_days
string
påkrævet

The percentage of referred customers who remained active over the last 90 days

id
string
påkrævet

The unique identifier for the affiliate.

Eksempel:

"aff_xxxxxxxxxxxxxx"

monthly_recurring_revenue_usd
string
påkrævet

The monthly recurring revenue generated by this affiliate's referrals, formatted as a USD currency string

status
enum<string> | null
påkrævet

The status of the affiliate

Tilgængelige muligheder:
active,
archived,
deleted
total_overrides_count
integer
påkrævet

The total count of all overrides for this affiliate

Eksempel:

42

total_referral_earnings_usd
string
påkrævet

The total commission earnings paid to this affiliate, formatted as a USD currency string

total_referrals_count
integer
påkrævet

The total referrals of the affiliate

Eksempel:

42

total_revenue_usd
string
påkrævet

The total revenue generated from this affiliate's referrals, formatted as a USD currency string

updated_at
string<date-time>
påkrævet

The datetime the affiliate was last updated.

Eksempel:

"2023-12-01T05:00:00.401Z"

user
object
påkrævet

The user attached to this affiliate