I used this guide to set up a workflow using Mailchimp: Add Mailchimp subscribers with Logic | Webflow University
But I ran into an issue where it won’t let me update subscribers, only add them. Updating requires the use of a PUT request. I’ve tried modifying the body of the message, but I can’t get it to work. The PUT documentation is here: https://mailchimp.com/developer/marketing/api/list-merges/
Any suggestions on how I can make this work? Ideally I can append tags as well.
1 Like
I ran into the same issue. Have you come up with a solution yet?
Make sure you have the unique identifier for the subscriber you want to update. This could be the subscriber’s email address, unique ID, or any other identifier that Mailchimp uses.
-
In the PUT request, include the unique identifier in the URL. The format should be something like: .../lists/{listID}/members/{subscriberID}
. Replace {listID}
with the ID of your Mailchimp list and {subscriberID}
with the unique identifier of the subscriber you want to update.
-
Modify the body of the PUT request to include the fields you want to update for the subscriber. You can refer to the documentation you provided (https://mailchimp.com/developer/marketing/api/list-merges/) for the specific fields and their values.
-
If you want to append tags to the subscriber, you can include the tags field in the request body and provide an array of tags. For example: {"tags": ["tag1", "tag2"]}
.
-
Send the PUT request and check the response to see if it was successful. The response body may contain further information about the update or any errors encountered.