You are here

function MCAPI::listMemberInfo in Mailchimp 5

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::listMemberInfo()
  2. 6.2 MCAPI.class.php \MCAPI::listMemberInfo()
  3. 6 MCAPI.class.php \MCAPI::listMemberInfo()
  4. 7 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 email The email address associated with this record @returnf string email_type The type of emails this customer asked to get: html or text @returnf array merges An associative array of all the merge tags and the data for those tags for this email address @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 date timestamp The time this email address was added to the list

Parameters

string $id the list id to connect to:

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 883

Class

MCAPI

Code

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