-
Notifications
You must be signed in to change notification settings - Fork 0
Lists
Marco Cusano edited this page Jun 15, 2019
·
1 revision
Your Mailchimp list, also known as your audience, is where you store and manage all of your contacts. Learn how to get started.
Create a new list in your Mailchimp account.
$params = array(
"name" => "The name of the list.",
"contact" => { ... },
"permission_reminder" => "The permission reminder for the list.",
"use_archive_bar" => "Whether campaigns for this list use the Archive Bar in archives by default.",
"campaign_defaults" => { ... },
"notify_on_subscribe" => "[email protected]",
"notify_on_unsubscribe" => "[email protected]",
"email_type_option" => ""
...
);
$mailchimp->lists->create($params);
Add a new member to the list. (Also called createMember
)
$params = array(
"email_address" => "[email protected]",
"email_type" => "html/text",
"status" => "subscribed/unsubscribed/cleaned/pending",
...
);
$mailchimp->lists->subscribe("LIST_ID", $params);
Delete a list from your Mailchimp account. If you delete a list, you’ll lose the list history—including subscriber activity, unsubscribes, complaints, and bounces. You’ll also lose subscribers’ email addresses, unless you exported and backed up your list.
$mailchimp->lists->delete("LIST_ID");
Delete a member from a list.
$mailchimp->lists->unsubscribe("LIST_ID", "MEMBER_ID");
Update the settings for a specific list.
$params = array( ... );
$mailchimp->lists->edit("LIST_ID", $params);
Get information about all lists in the account: Get information about all lists or get information about a specific list.
// Send LIST_ID if you are looking for a specific list instead of the all lists.
$mailchimp->lists->get("LIST_ID");
- archive
- create
- createQueue
- deleteEmail
- deleteSubscriber
- edit
- get
- getEmails
- getQueue
- getRemovedSubscriber
- pause
- pauseEmail
- start
- startEmail
- createOperation
- createWebHook
- deleteOperation
- deleteWebHook
- deleteSubscriber
- editWebHook
- getOperations
- getWebHooks
- create
- createFeedback
- createFolder
- delete
- deleteFeedback
- deleteFolder
- edit
- editContent
- editFeedback
- editFolder
- get
- getContent
- getFeedback
- getFolders
- sendChecklist
- create
- delete
- edit
- get
Under Development
- create
- createMember/subscribe
- createMemberNote
- createMemberTag
- createSegment
- createSignup
- delete
- deleteMember/Unsubscribe
- deleteMemberPermanently
- deleteMemberNote
- deleteMergeField
- deleteSegment
- edit
- editMember
- editMemberNote
- editMemberTag
- editMergeField
- editSegment
- get
- getAbuse
- getActivity
- getClients
- getGrowthHistory
- getLocations
- getMembers
- getMemberNotes
- getMemberTags
- getMergeFields
- getSegments
- getSignup
Under Development