Call Us: 992 9441 754

Setting a Subscriber to Pending Status in MailChimp API v1.3

< All Topics

Setting a Subscriber to Pending Status in MailChimp API v1.3

In Mailchimp API v1.3, you can set a subscriber to pending status by updating their subscription status for a specific list. Here’s how you can achieve this using the Mailchimp API:

  1. Retrieve Member Information: First, you need to retrieve the information of the subscriber whose status you want to change. You’ll need their unique email ID or subscriber ID.
  2. Update Subscription Status: Once you have the subscriber’s information, you can update their subscription status to “pending” for the desired list. You can do this by making a PATCH request to the Mailchimp API endpoint for updating a member’s status.

Here’s an example of how you can update a subscriber’s status to pending using the Mailchimp API v1.3 in a programming language like Python:

Make sure to replace <dc> with your Mailchimp data center, <list_id> with the ID of the list to which the subscriber belongs, and <subscriber_id> with the ID of the subscriber whose status you want to update. Also, replace "your_api_key" with your Mailchimp API key.

By making a PATCH request to the Mailchimp API endpoint with the updated status, you can set the subscriber to pending for the specified list.

Categories

Recent Comments

No comments to show.