Search account wide or on a specific list using the specified query terms
Signature
public function searchMembers(string
$query,
[string
$id = NULL,
[integer
$offset = 0]] )
Parameters
$query
—
string
terms to search on, <a href="http://kb.mailchimp.com/article/i-cant-find-a-recipient-on-my-list" target="_blank">just like you do in the app</a>
$id
—
string
optional the list id to limit the search to. Get by calling lists()
$offset
—
integer
Returns
array
An array of both exact matches and partial matches over a full search array exact_matches
int total total members matching
array members each entry will match the data format for a single member as returned by listMemberInfo()
array full_search
int total total members matching
array members each entry will match the data format for a single member as returned by listMemberInfo()