You are here

public function MailchimpLists::getMemberInfoById in Mailchimp 8

Gets information about a member of a Mailchimp list.

Parameters

string $list_id: The ID of the list.

string $mc_eid: The member's unique ID.

array $parameters: Associative array of optional request parameters.

Return value

object

See also

https://developer.mailchimp.com/documentation/mailchimp/guides/getting-s...

File

lib/mailchimp-api-php/src/MailchimpLists.php, line 200

Class

MailchimpLists
Mailchimp Lists/Audiences library.

Namespace

Mailchimp

Code

public function getMemberInfoById($list_id, $mc_eid, $parameters = []) {
  $tokens = [
    'list_id' => $list_id,
  ];
  $parameters = [
    'unique_email_id' => $mc_eid,
  ];
  return $this
    ->request('GET', '/lists/{list_id}/members/', $tokens, $parameters);
}