Landings - marcocusano/mailchimp-php GitHub Wiki
Manage your Landing Pages, including publishing and unpublishing.
create
Create a new Mailchimp landing page.
$params = array(
"name" => "The name of this landing page.",
"title" => "The title of this landing page seen in the browser’s title bar.",
"description" => "The description of this landing page.",
"store_id" => "YOUR_STORE_ID",
"list_id" => "YOUR_LIST_ID",
"type" => "signup/product"
);
$mailchimp->landings->create($params);
delete
Delete a landing page.
$mailchimp->landings->delete("PAGE_ID");
edit
Update a landing page.
$params = array( ... );
$mailchimp->landings->edit("PAGE_ID", $params);
get
Get all landing pages: No Summary or get information about a specific page.
// Send PAGE_ID to get a specific page instead of a list of landing pages.
$mailchimp->landings->get("PAGE_ID");
publish
Publish a landing page.
$mailchimp->landings->publish("PAGE_ID");
unpublish
Unpublish a landing page.
$mailchimp->landings->unpublish("PAGE_ID");