You are here

function MCAPI::getAffiliateInfo in Mailchimp 7

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::getAffiliateInfo()
  2. 5 MCAPI.class.php \MCAPI::getAffiliateInfo()
  3. 6.2 MCAPI.class.php \MCAPI::getAffiliateInfo()
  4. 6 MCAPI.class.php \MCAPI::getAffiliateInfo()

<strong>DEPRECATED:</strong> Retrieve your User Unique Id and your Affiliate link to display/use for <a href="/monkeyrewards/" target="_blank">Monkey Rewards</a>. While we don't use the User Id for any API functions, it can be useful if building up URL strings for things such as the profile editor and sub/unsub links.

@section Helper

@example mcapi_getAffiliateInfo.php @example xml-rpc_getAffiliateInfo.php

@returnf string user_id Your User Unique Id. @returnf string url Your Monkey Rewards link for our Affiliate program

Return value

array containing your Affilliate Id and full link.

Deprecated

See getAccountDetails() for replacement

File

./MCAPI.class.php, line 1401

Class

MCAPI

Code

function getAffiliateInfo() {
  $params = array();
  return $this
    ->callServer("getAffiliateInfo", $params);
}