View Source Mailchimp.List.InterestCategory (mailchimp v0.2.0)

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.

struct-fields

Struct Fields

  • id - The unique list id for the category.

  • list_id - This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.

  • title - The text description of this category. This field appears on signup forms and is often phrased as a question.

  • display_order - The order that the categories are displayed in the list. Lower numbers display first.

  • type - Determines how this category’s interests appear on signup forms. Possible values: "checkboxes", "dropdown", "radio", or "hidden".

  • links - A list of Mailchimp.Link types and descriptions for the API schema documents.

Link to this section Summary

Functions

Same as interests/1 but raises errors.

Fetches all Mailchimp.List.InterestCategory.Interest for the given interest category.

Generates an Mailchimp.List.InterestCategory struct from the given attributes.

Link to this section Functions

Same as interests/1 but raises errors.

Link to this function

interests(interest_category)

View Source

Fetches all Mailchimp.List.InterestCategory.Interest for the given interest category.

Generates an Mailchimp.List.InterestCategory struct from the given attributes.