phpemaildeprecatedmailchimp

MailChimp API v1.3 how to set subscriber to pending


Does anyone know if it's still possible to set the status of a new subscriber to "pending" using Mailchimp API v1.3? The documentation appears to be deprecated or disabled.

The payload for a new subscriber is:

$payload = array('email_address' => $this->email,
                'merge_vars' => $this->merge, 
                'email_type' => $this->emailType,
                'double_optin' => $this->doubleOptin,
                'update_existing' => $this->updateExisting,
                'replace_interests' => $this->replaceInterests,
                'send_welcome' => $this->sendWelcome,);

I tried just to add...

"status" => "pending"

Like with the API v3, this did not work. I want to check the docs to see if the naming was different back then. Any help is much appreciated.


Solution

  • There is no solution to this. The only way was to actually upgrade to a package supporting MailChimp Api v3 (or doing the implementation yourself).