Resubscribe users and delete user via Mailchimp API v2.0

1,689 views
Skip to first unread message

Andrew Yanush

unread,
Nov 1, 2013, 9:53:05 AM11/1/13
to mailchimp-...@googlegroups.com
I am trying to delete member from the list http://apidocs.mailchimp.com/api/2.0/lists/batch-unsubscribe.php ,
using delete_member=true

The question is:

How can I delete the member via API without unsubscribing him? because I want to easily add him in future.
For now if I deleted member from the list, then I can't add him, because I am getting an error:
212 Resubscribed user can not be added.

Is any solution how I can delete and add the same member with the same email via API ?

Eric Muntz

unread,
Nov 1, 2013, 11:25:39 AM11/1/13
to mailchimp-api-discuss
Hey Andrew,

You can delete and re-add with the approach you mentioned, however if the list member unsubscribes on their own your re-add will fail with the 212 exception.  You cannot delete and re-subscribe list members who unsubscribed from your list, in accordance with our terms of service and anti-abuse policies.  

You can verify your flow by subscribing your own test address, deleting it and then re-subscribing it.  Just be sure you account for the above situation where members unsubscribe and cannot be re-added.


--
You received this message because you are subscribed to the Google Groups "MailChimp API Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailchimp-api-di...@googlegroups.com.
To post to this group, send email to mailchimp-...@googlegroups.com.
Visit this group at http://groups.google.com/group/mailchimp-api-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply all
Reply to author
Forward
0 new messages