public function MailchimpLists::getMemberInfo in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getMemberInfo()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getMemberInfo()
Gets information about a member of a Mailchimp list.
Parameters
string $list_id: The ID of the list.
string $email: The member's email address.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/m...
2 calls to MailchimpLists::getMemberInfo()
- MailchimpLists::getListsForEmail in lib/
mailchimp-api-php/ src/ MailchimpLists.php - Gets all lists an email address is subscribed to.
- MailchimpLists::getMemberInfo in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
1 method overrides MailchimpLists::getMemberInfo()
- MailchimpLists::getMemberInfo in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
File
- lib/
mailchimp-api-php/ src/ MailchimpLists.php, line 177
Class
- MailchimpLists
- Mailchimp Lists/Audiences library.
Namespace
MailchimpCode
public function getMemberInfo($list_id, $email, $parameters = []) {
$tokens = [
'list_id' => $list_id,
'subscriber_hash' => md5(strtolower($email)),
];
return $this
->request('GET', '/lists/{list_id}/members/{subscriber_hash}', $tokens, $parameters);
}