public function MailchimpLists::getInterestCategories in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpLists.php \Mailchimp\MailchimpLists::getInterestCategories()
- 8 lib/mailchimp-api-php/tests/src/MailchimpLists.php \Mailchimp\Tests\MailchimpLists::getInterestCategories()
Gets information about all interest categories associated with a list.
Parameters
string $list_id: The ID of the list.
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::getInterestCategories()
- MailchimpLists::getInterestCategories in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
1 method overrides MailchimpLists::getInterestCategories()
- MailchimpLists::getInterestCategories in lib/
mailchimp-api-php/ tests/ src/ MailchimpLists.php - @inheritdoc
File
- lib/
mailchimp-api-php/ src/ MailchimpLists.php, line 63
Class
- MailchimpLists
- Mailchimp Lists/Audiences library.
Namespace
MailchimpCode
public function getInterestCategories($list_id, $parameters = []) {
$tokens = [
'list_id' => $list_id,
];
return $this
->request('GET', '/lists/{list_id}/interest-categories', $tokens, $parameters);
}