584
questions
0
votes
0
answers
18
views
Mailchimp abandoned cart flow not showing order results
We've created a Mailchimp customer journey for abandoned carts, with help of the Mailchimp API v3.0 and the PHP library DrewM\MailChimp. During abandoning of the ticket sale, a cart is being created ...
0
votes
0
answers
32
views
Mailchimp Connected Sites verification of site script install
I am building a custom Marketing API integration for an ecommerce platform with the Mailchimp APIs. I am working on the Connected Sites path and ran into a road block. When hitting the "verify&...
0
votes
0
answers
45
views
Mailchimp API deauthorize
I am working on implementing the Mailchimp marketing APIs into my system. I’m working through the authorization component first and don’t see a way for a user to deauthorize once authorized. Is there ...
1
vote
1
answer
48
views
Cannot read properties of undefined (reading '0') -> at mailchimp.ping.get() function
I'm getting a 'TypeError: Cannot read properties of undefined (reading '0')' for the example given in mailchimp's api docs.
I'm using nextjs with typescript.
This is the code
import { NextRequest, ...
0
votes
1
answer
133
views
How to use @mailchimp/mailchimp_marketing Package with Next.js 14 App Router API
I need to create a signup form for a Mailchimp Newsletter with my Next.js 14 Typescript Application using the new App router.
Therefore I installed @mailchimp/mailchimp_marketing packe with npm.
...
0
votes
1
answer
92
views
Mailchimp API v3 - Trying to Update a list-member using returns error 400
I'm having issues getting my Mailchimp API v3 integration working.
I'm able to add new members to a list, using the Add/Update or the Add endpoints. But then if I try and Update that member (e.g. to ...
0
votes
0
answers
32
views
MailChimp's "GET /lists/{list_id}/segments" doesnt include "static_segments"
I have added a segment using the API "POST /lists/{list_id}/segments" to MailChimp
This segment is not the normal kind. I used the parameter "static_segment" to enter in a list of ...
1
vote
0
answers
30
views
Set Subscribed status in SMS Marketing column
Currently when using the API "add member to list", and by setting status to subscribed, it only sets the "Email Marketing" column as "Subscribed". Is there any way to use ...
0
votes
1
answer
39
views
MailChimp query string syntax
I'm using MailChimp to conduct a data export of the aggregate activity. The CSV files contain the web_id of the campaign, which I would like to use to obtain more detailed information about the ...
0
votes
1
answer
271
views
MailChimp API PUT update list member
Starting January 16, 2024 this endpoint seems to have broke.
Add or update a list member.
https://mailchimp.com/developer/marketing/api/list-members/add-or-update-list-member/.
PUT /lists/{list_id}/...
0
votes
0
answers
27
views
Mailchimp marketing api v3 - automate population and sending of a camapaign from a template via API
I only have use of the Marketing API, not the transactional one.
I can send a campaign that is set up via the web UI through the (Send campaign - Post: /campaigns/{campaign_id}/actions/send) API end ...
0
votes
0
answers
55
views
MailChimp Net V3 - Merge Fields not populating. C#
I am using MailChimp.Net (nuget MailChimp.Net.V3). I'm trying to add a person to a list including first and last name. I have looked over the docs at https://github.com/brandonseydel/MailChimp.Net ...
0
votes
0
answers
92
views
Error: Failed to load module script: Expected a JavaScript module script but server responded with a MIME type of "text/html"
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML ...
0
votes
0
answers
172
views
Next.js API Call to Mailchimp Contact Form - getting 500 Response
just been working a client website and they requested that they would like to use mailchimp for their contact form but l have been stuck on the problem despite all my efforts for days l keep on ...
0
votes
0
answers
150
views
Reading more than one JSON file into a memory stream
I have some c# code that happly reads the contents of a .gz file (which contains 1 .json file) into a memory stream and finds the first instance of "[" and obtains data after that. However, ...
0
votes
0
answers
49
views
Mallchimp v3 marketing api - count parameter not working
I have an application that successfully retrieves a subset of field data using the node client library getSegmentMembersList function as below. Whatever I do it returns status 200 with only the ...
0
votes
0
answers
75
views
Can I send 1 on 1 email on Mailchimp API?
I'm trying to send a mail from email FROM_EMAIL to TO_EMAIL using PHP and Mailchimp API using just a POST request.
Mailchimp offers a marketing campaign API for sending emails in bulk from one sender ...
1
vote
1
answer
176
views
create a campaign using a 'new builder' template
I have a MailChimp Email Template that looks like the following (note the id 10564231)
I am creating a new campaign via the API
{
"type": "regular",
"recipients": {
...
0
votes
1
answer
114
views
Mailchimp list created with API not available to API, but is in web admin view
I am using the MailChimp API and creating a list, and adding users to it
The process is as follows (cURL connections)
first I get the lists (no data sent with the GET request)
GET: https://{DC}.api....
0
votes
0
answers
61
views
Mailchimp API: How do I retrieve list of campaigns with the campaign ids?
I'm using the PHP Mailchimp Library and I have a list of campaign ids. How can I retrieve the information for all those campaigns in one call?
I'm trying the SearchCampaigns endpoint but the result is ...
0
votes
1
answer
156
views
Mailchimp NodeJS ENOTFOUND
I'm stuck on this error trying to do health check on my mailchimp api config and i keep getting ENOTFOUND error. I removed my actual api key
The config api call
const mailchimp = require("@...
1
vote
1
answer
390
views
How to find permanently deleted addresses in mailchimp api V3
is there any way to get a list of all permanetly deletet email addresses?
I am trying to upload large lists of email addresses. with every adress that has been deleted i get an error, then have to ...
1
vote
0
answers
91
views
How to add an array of tags with firebase mailchimp extension
We have a collection of users, each with an array of skills. Each skill has a title and description. We would like those skill titles to be mailchimp Tags.
In the firebase extension setup, we have the ...
2
votes
0
answers
190
views
How can I create a new campaign using a Mailchimp template via Python Mailchimp API?
I built an email template via the Mailchimp drag and drop tool. I'm trying to now create a new email campaign using the template as the new campaign content but it doesn't seem to be working. I ...
0
votes
0
answers
379
views
NextJs 13.4 form connected with MailChimp hosted in Firebase when submitting "Internal Server Error"
I am doing a subscription form in NextJS 13.4 and connecting it with MailChimp. In production everything works perfectly. When I push build to Firebase hosting and try to submit the form I am getting &...
1
vote
0
answers
120
views
Express: Mailchimp oauth2 getting token from code returns 400
I'm trying to make a simple oauth2 flow using the documentation from Mailchimp.
I keep getting 400 invalid_client.
Stuck on what is going wrong and would like some help.
index.js:
import express from &...
0
votes
1
answer
354
views
Send Email using Mailchimp API
I need to send an email to many recipients
var recipients = [[email protected], [email protected], [email protected]]
I have one template named template1
var templateId = ["237173"];
The text content of one ...
1
vote
1
answer
346
views
Attempting to add list members to MailChimp list using a plugin within Nuxt3, getting an error stating addListMemberWithHttpInfo is not a function
I'm trying to use the MailChimp Marketing API to add members to one of my MailChimp list's, however, after creating the following plugin within my Vue3/Nuxt3 project:
import MailchimpMarketing from '@...
1
vote
0
answers
208
views
Unable to set correct Email Template for Mailchimp Campaign via Python API
I'm unable to set correct Email template for Mailchimp Campign.
I'm picking the Template_ID from the browser URL like: https://xxx.admin.mailchimp.com/email/templates/editor?id=`Template_ID`.
Is it ...
1
vote
0
answers
124
views
Mailchimp API: how to delete all tags?
Is it possible to delete all tags at once in an existing list via the Mailchimp API?
https://mailchimp.com/developer/marketing/api
Thx
Frederik
0
votes
1
answer
106
views
having problem adding membber in mailchimp error 400
currently on a beginner course and the teacher taught a way to send member data to mailchimp using nodejs have been stuck in the problem for long enough. does anyone spot the error ?
here is the code
...
1
vote
1
answer
165
views
Get Mailchimp list of unsubscribed users for the last month from API
I want to receive the list of unsubscribed users from Mailchimp mailing list from Marketing API. I use this endpoint:
https://{{dc}}.api.mailchimp.com/3.0/lists/{{list_id}}/activity
but it returns ...
0
votes
1
answer
459
views
Mailchimp API: remove existing tags from member is impossible
after reading many posts with the same problem and after trying many different ways to resolve my problem I hope to find here the solution with your help
I want to remove a tag from a member in ...
1
vote
1
answer
1k
views
Form submission and mailchimp api in nextjs
I made a form that sends the input data to the Mailchimp audience list with their API. The issue I'm having is that my form takes two inputs, a user's firstname, and email, and upon submission of the ...
1
vote
1
answer
459
views
MailChimp template add script tag at the end of html template
I used email template creator MailChimp, I figure out at the end of html body there is a script with type 'text/javascript' that src is not clear for me and I can't find any reason for that, for ...
1
vote
1
answer
749
views
How to add a member to the list in a mailchimp api using node.js?
I am doing "Angela Yu" bootcamp for Web Dev, where you make a web app to add a member to you maillist. When the user enters their the details to the Info Page and click submit, the user ...
0
votes
0
answers
515
views
Mailchimp API First and Last Name not working merge_fields
I am trying to add new members to mailchimp using it's API and express(node.js). I am just learning node.js too. My js code is:
app.get("/", function(req, res){
res.sendFile(__dirname + &...
0
votes
1
answer
70
views
How to access elements of a Dictionary / List from a call to Mailchimp
I'm new to Python and would really appreciate a bit of help. I need to retrieve information from Mailchimp on all the Audiences (mailing lists) and then pull back information on the members of those ...
-1
votes
3
answers
537
views
How can I read the status code of a mailchimp response?
I am playing around with the mailchimp API. The code snippet adds a user to a mailing list and afterwards a success or failure message should be displayed. Unfortunaley I can't get a grasp on the ...
3
votes
2
answers
512
views
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 ...
1
vote
0
answers
223
views
Mailchimp API 3.0 how to detect already unsubscribed
The Mailchimp API returns error 400 if I try to subscribe a user that is already subscribed. Then I found that if I unsubscribe and attempt to resubscribe again I also get error 400. Is there a way to ...
0
votes
2
answers
372
views
How to hide an element based on sibling's css property value?
<div id="mc-response">
<div id="mc-success-response" style="display:none"></div>
<div id="targeted">Success</div>
</div&...
0
votes
1
answer
512
views
Update existing contact in Mailchimp
Hello guys I am trying to update a contact in my list with CRUL. I think everything looks great, only one think that I don't understand is {subscriber_hash}. How can i get this? Or maybe thats not a ...
0
votes
1
answer
213
views
Sending unique template regions in Mandrill to each recipient
We have a series of transactional emails in Mandrill (aka MailChimp Transactional) that we need to send to our customers. We can use merge_vars to send to multiple recipients at once, but we're also ...
0
votes
2
answers
152
views
Why can't I redirect to my failure page using node.js?
I am working on my newsletter project using Mailchimp API, it works but I can't redirect to a failure page if the status code is not 200, the browser says localhost refused to connect meanwhile ...
0
votes
1
answer
256
views
How to build own custom drag n drop template in MailChimp?
I want to build my own custom drag and drop templates using MailChimp template language. I didn't find any document or guide related to this. Is it possible to build a custom drag and drop templates ...
1
vote
1
answer
202
views
How to extract from response url in Mailchimp Batch Operations in Python?
I am requesting data via Mailchimp Marketing API using Batch Operations. I receive a response_body_url which once clicked, downloads gzipped files locally.
A GET request to the response_body_url ...
1
vote
1
answer
1k
views
Mandrill Reply-To Header when sending via Node.js
I am trying to figure out how to add a reply-to header to emails sent from my website using mandrill transactional API. I have tried multiple options but none is working. I want to implement a contact ...
0
votes
1
answer
73
views
how to render a succes.html file if my contact is successfully added using the https req method for mailchimp API
The latest Mailchimp API docs use the async function for batch subscription of members but i want to use the HTTPS req so that i will be able to tap into the status code so as to render the success....
0
votes
1
answer
3k
views
Why isn't my base64-encoded image being recognized by this API POST method?
I am trying to use an API to upload a JPEG image. Here is the method information: Add file
You can see it requires two parameters: "name" and "file_data" (the base64-encoded ...