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