You are here

function MCAPI::listsForEmail in Mailchimp 6.2

Retrieve all List Ids a member is subscribed to.

@section Helper

Parameters

string $email_address the email address to unsubscribe OR the email "id" returned from listMemberInfo, Webhooks, and Campaigns:

Return value

array An array of list_ids the member is subscribed to.

File

./MCAPI.class.php, line 1832

Class

MCAPI

Code

function listsForEmail($email_address) {
  $params = array();
  $params["email_address"] = $email_address;
  return $this
    ->callServer("listsForEmail", $params);
}