function MCAPI::getAffiliateInfo in Mailchimp 5
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::getAffiliateInfo()
- 6.2 MCAPI.class.php \MCAPI::getAffiliateInfo()
- 6 MCAPI.class.php \MCAPI::getAffiliateInfo()
- 7 MCAPI.class.php \MCAPI::getAffiliateInfo()
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
@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.
File
- ./
MCAPI.class.php, line 899
Class
Code
function getAffiliateInfo() {
$params = array();
return $this
->callServer("getAffiliateInfo", $params);
}