Manage interest categories for a specific list. Interest categories organize interests, which are used to group subscribers based on their preferences. These correspond to 'group titles' in the Mailchimp application. Learn more about groups in Mailchimp.
package |
Default |
---|
__construct(array $data = NULL)
array
all() : \MailChimp\Response\InterestCategoryListResponse
Get information about a list’s interest categories.
\MailChimp\Response\InterestCategoryListResponse
clear()
create() : \MailChimp\Models\Lists\InterestCategory
Create a new interest category.
\MailChimp\Models\Lists\InterestCategory
delete() : mixed
Delete a specific interest category.
mixed
edit() : \MailChimp\Models\Lists\InterestCategory
Update a specific interest category.
\MailChimp\Models\Lists\InterestCategory
getAction( $name)
getActionField(string $action, string $name) : \MailChimp\Core\ActionField
getActionFields(string $action) : array<mixed,\MailChimp\Core\ActionField>
getField(string $name) : \MailChimp\Core\Field
string
\MailChimp\Core\Field
getFields() : array
array
getPath(\MailChimp\Core\string $child = NULL, array $params = NULL) : string
\MailChimp\Core\string
array
string
hasField(string $name) : boolean
string
Field name
boolean
jsonSerialize()
merge( $data)
read() : \MailChimp\Models\Lists\InterestCategory
Get information about a specific interest category.
\MailChimp\Models\Lists\InterestCategory
reference( &$field, $name)
id : string
The id for the interest category.
string
list_id : string
The unique list id for the category.
string
title : string
The text description of this category. This field appears on signup forms and is often phrased as a question.
string
display_order : integer
The order that the categories are displayed in the list. Lower numbers display first.
integer
type : string
Determines how this category’s interests appear on signup forms.
string
_links : array<mixed,\MailChimp\Data\Link>
A list of link types and descriptions for the API schema documents.
array<mixed,\MailChimp\Data\Link>