Affiliates

Affiliates

Affiliate partners with their referral and coupon codes, clicks, conversions and conversion rate. Partners and their tracked clicks and conversions. Partner Decisions are in the decision list (type=affiliate).

get/affiliates

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/affiliates
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: analytics:read)
    • HTTP bearer

Query parameters

sitestring

Only partners on this site. Without it, the whole workspace.

statusstring

For example active or paused.

startstring

Count clicks and conversions from this date (YYYY-MM-DD) or ISO 8601 date-time. Without start, there is no lower bound; without either, all time.

endstring

Count up to this date (inclusive) or ISO 8601 date-time. Without end, there is no upper bound.

compare'none' | 'previous_period'

previous_period adds each partner's clicks and conversions in the same-length window right before start, with the percent change (default none). Needs start.

limitinteger

Items per page (default 25, max 100).

cursorstring

next_cursor from the previous page.

Response

Success.

object'list' required
has_moreboolean required
next_cursorstring nullable required
activenumber required
limitnumber nullable required
notestring required

Changes

No recorded changes to this operation across all 1 revision of this API.