function MCAPI::listMemberInfo in Mailchimp 7
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::listMemberInfo()
- 5 MCAPI.class.php \MCAPI::listMemberInfo()
- 6.2 MCAPI.class.php \MCAPI::listMemberInfo()
- 6 MCAPI.class.php \MCAPI::listMemberInfo()
Get all the information for a particular member of a list
Related
@example mcapi_listMemberInfo.php @example xml-rpc_listMemberInfo.php
@returnf string id The unique id for this email address on an account @returnf string email The email address associated with this record @returnf string email_type The type of emails this customer asked to get: html, text, or mobile @returnf array merges An associative array of all the merge tags and the data for those tags for this email address. <em>Note</em>: Interest Groups are returned as comma delimited strings - if a group name contains a comma, it will be escaped with a backslash. ie, "," => "\," @returnf string status The subscription status for this email address, either subscribed, unsubscribed or cleaned @returnf string ip_opt IP Address this address opted in from. @returnf string ip_signup IP Address this address signed up from. @returnf array lists An associative array of the other lists this member belongs to - the key is the list id and the value is their status in that list. @returnf date timestamp The time this email address was added to the list
Parameters
string $id the list id to connect to. Get by calling lists():
string $email_address the member email address to get information for:
Return value
array array of list member info (see Returned Fields for details)
File
- ./
MCAPI.class.php, line 1332
Class
Code
function listMemberInfo($id, $email_address) {
$params = array();
$params["id"] = $id;
$params["email_address"] = $email_address;
return $this
->callServer("listMemberInfo", $params);
}