Skip to content

MngGetMarketingLinksByFilter

{
  "command":"MngGetMarketingLinksByFilter",
  "extID":"1",
  "data":{
    "brand":"default",
    "limit":50,
    "offset":0,
    "where":[["affiliate_id","=",4]],
    "orderBy":[["id","desc"]]
  }
}

Supported fields: id, brand, campaign_id, affiliate_id, code, name, utm_source, utm_medium, status, created_time, and updated_time.

Every response row is enriched with url, link_type, affiliate_code, affiliate_name, campaign_code, campaign_name, visits, unique_visitors, registrations, kyc_approved, first_deposits, deposits, active_traders, and deposit_value.

first_deposits is the number of customers with an initial credited deposit; deposits and deposit_value are respectively the count and cumulative value of all credited Cashier deposits attributed to the link.

link_type is one of AFFILIATE_GLOBAL, CAMPAIGN, or AFFILIATE_CAMPAIGN. The response is {"rows":[],"count":0}.