Questions tagged [mailchimp-api-v3.0]

MailChimp API v3.0 is the third major version of MailChimp API, which allows you to sync your database with MailChimp for better list and campaign management. Use this tag for questions about how to use the API or integrating the API with a specific programming language. Include the language tags (C#, PHP, Python, etc) if you're integrating with any of those languages.

Official Developer Site: Link

573 questions
4
votes
2 answers

Can't get MailChimp API listUpdateMember to change a user's email address

I'm trying to use the MailChimp API to update an email address of a member when they change their email in our web app. I'm using the Laravel MailChimp bundle and it's been working great (I can subscribe users, update groupings, update name etc),…
alexleonard
  • 1,314
  • 3
  • 21
  • 37
3
votes
2 answers

Using XMLHttpRequest to send a Mailchimp API request in my React Typescript App so users subscribe to the newsletter

I want to use Mailchimp API in my website so users can enter their email in a field and subscribe to a newsletter. I do not want to use any libraries. I created a simple form for now with an email field and subscribe button for testing purposes and…
user18943198
3
votes
0 answers

Mailchimp API returning 'undefined'

I am trying to implement an API to read if user exists as a member in my mailchimp account and if it is not there then add this member to the list. I am using @marketing/mailchimp_marketing library as a reference…
3
votes
2 answers

Adding Query Parameters to Mailchimp API request for PHP

I am currently following the documentation seen here: https://mailchimp.com/developer/marketing/api/list-members/list-members-info/ Using the PHP example: $response = $client->lists->getList("list_id"); This returns just fine. But I would like to…
Sean
  • 43
  • 4
3
votes
1 answer

Mailchimp API Node - create campaign for list based on tags

I'm making an async api request with a firebase cloud function to create a campaign within mailchimp for a specific set of users from a list. I read in the documentation that this can be done with tags this way I can build my own structure. I'm…
Sasheem
  • 111
  • 3
  • 12
3
votes
3 answers

MailChimp and adding tags from a sign up form

I need to know how and if it is possible to automatically add tags to an audience when we use an embedded form. Right now MailChimp allows you to use their "Landing Page" option and select up to 5 tags. I was directed to the MailChimp Developers…
ClosDesign
  • 3,894
  • 9
  • 39
  • 62
3
votes
0 answers

Mailchimp - 405 Method not allowed

Have an existing API that suddenly stopped working. GuzzleHttp is used in this project. Cannot delete users over an API with Mailchimp. Response; 405 Method Not Allowed response:…
Abdul Sadik Yalcin
  • 1,744
  • 2
  • 19
  • 50
3
votes
1 answer

Expected argument of type "string", "stdClass" given Error

I'm using mailchimp-api-v3 for nodejs. I'm currently trying to update a user's tag but sometimes this error pops up and I have no idea what it means. I searched around but it doesn't seem like a lot of devs have encountered it. Any suggestions are…
3
votes
2 answers

how to create tags in the lists of mailchimp subscriber using nodejs?

I had created the mail subscription using mailchimp. The mail id is listed in the lists of mailchimp, but i want to pass the firstname,lastname and want to create a tag while doing the mailchimp subscription. but now i am listing only the mail under…
liza
  • 67
  • 11
3
votes
2 answers

Change the MailChimp source from API - Generic

I can't find the answer to this anywhere, if it's even possible. I've got a PHP script to connect a few web forms to MailChimp using their v3.0 API. Currently, when the form is used, under the 'Source' column next to the new record it says: "API -…
Lloyd England
  • 51
  • 1
  • 4
3
votes
1 answer

MailChimp send the same email multiple times

Is it possible to send the same email multiple times? I tried via API to add email to queue, but I cannot remove it anyway. And if I don't, I get message "You've already sent this email to the subscriber." There was answer in another question.…
matiss.andersons
  • 125
  • 1
  • 11
3
votes
2 answers

merge_fields error 400 - Mailchimp api v3

I have a list with these fields: email, FNAME and LNAME. When I try to send merge_fields via Ajax, the Ajax return an error: string(400) "{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid…
Maicon Furtado
  • 298
  • 1
  • 4
  • 15
3
votes
3 answers

Mailchimp api 3.0 error: "Schema describes object, array found instead" is the code or on mailchimp's end?

I need to bulk update subscribers in my mailchimp lists using mailchimp's api and subscriber lists in my database. I am trying implement the solution to the question here: Mailchimp API 3.0 Batch Subscribe but I'm getting the error…
400badrequest
  • 33
  • 1
  • 4
3
votes
0 answers

Hitting Mailchimp API with Axios, getting auth error. Could somebody give this a quick check?

Pasted below is my code. According to Mailchimp's auth docs, it's just basic auth. Am I missing something? router.post('/subscribe', function(req, res, next) { const email = req.body.email; const auth = 'Basic ' + new…
3
votes
1 answer

400 Bad Request When Adding Member to MailChimp List

I am sending a POST request to the following resource and getting a 400. I understand what the error means, but still am unsure why I'm getting it when a GET request to the same resource works. /lists/{list_id}/members Here is a exerpt of the…
Donnie
  • 6,229
  • 8
  • 35
  • 53