我需要通过 api 检索所有用户信息,在我发现的文档中查找它: http ://apidocs.mailchimp.com/api/2.0/lists/member-info.php
这是我的代码:
$params = array(
'id' => $list_id,
'emails' => array(
'euid' => $member_id,
),
);
$infos = $this->MailChimp->call('lists/member-info', $params);
print_r($infos);
这是结果:
Array ( [success_count] => 0 [error_count] => 1 [errors] => Array ( [0] => Array ( [email] => 63a885b7cf [error] => "email" should be a struct [code] => -100 ) ) [data] => Array ( ) )
“电子邮件”应该是一个结构是什么意思?