public function MailchimpLists::getInterests in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getInterests()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getInterests()
Gets information about all interests associated with an interest category.
Parameters
string $list_id: The ID of the list.
string $interest_category_id: The ID of the interest category.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/i...
1 call to MailchimpLists::getInterests()
- MailchimpLists::getInterests in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
1 method overrides MailchimpLists::getInterests()
- MailchimpLists::getInterests in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
File
- lib/
mailchimp-api-php/ src/ MailchimpLists.php, line 85
Class
- MailchimpLists
- Mailchimp Lists/Audiences library.
Namespace
MailchimpCode
public function getInterests($list_id, $interest_category_id, $parameters = []) {
$tokens = [
'list_id' => $list_id,
'interest_category_id' => $interest_category_id,
];
return $this
->request('GET', '/lists/{list_id}/interest-categories/{interest_category_id}/interests', $tokens, $parameters);
}