我目前正在关注此处看到的文档:https://mailchimp.com/developer/marketing/api/list-members/list-members-info/ 使用 PHP 示例:
$response = $client->lists->getList("list_id");
Run Code Online (Sandbox Code Playgroud)
这返回得很好。但我想添加“unsubscribed_since”查询参数。如何设置查询参数的格式?我试过了:
$response = $mailchimp->lists->getListMembersInfo("id", array('unsubscribed_since' => '2020-01-01'));
Run Code Online (Sandbox Code Playgroud)
也:
$response = $mailchimp->lists->getListMembersInfo("3d65de82df", ['unsubscribed_since' => '2020-01-01']);
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激。