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
1
vote
1 answer

Mailchimp tag API silently failing

I'm calling the Node.js Mailchimp API like so: const mailchimp = require('@mailchimp/mailchimp_marketing'); const md5 = require('md5'); // ... const resp = await mailchimp.lists.updateListMemberTags( mailchimpListId, md5('my@email.com'), {…
Patrick Perini
  • 22,555
  • 12
  • 59
  • 88
1
vote
2 answers

An email subscription form with Django and Mailchimp doesn't work after deployment (DigitalOcean)

I've built a simple email subscription form with Django and Mailchimp. It works perfectly fine locally, however, after deploying it to DigitalOcean it doesn't seem to work. I thought it might be related to the database, but I did migrate on the…
xshapira
  • 355
  • 4
  • 13
1
vote
0 answers

Remove fields from custom mailchimp form

I've created a simple page and trying to add a MailChimp sign-up form using the script from https://github.com/drewm/mailchimp-api/blob/master/README.md. I've added the below code in my index.php and it seems to be working perfectly.
Aart
  • 11
  • 2
1
vote
2 answers

How can i set count at Mailchimp Marketink API with PHP listing campaigns

I have the following code: setConfig(['apiKey' => 'APIKEY','server' => 'PREFIX']); $response =…
Javi
  • 11
  • 1
1
vote
1 answer

Mailchimp PHP Marketing API pass request parameters

I am using Mailchimp's Marketing PHP API (https://github.com/mailchimp/mailchimp-marketing-php) to retrieve the templates list. It has the following code.
Dipendra Gurung
  • 5,720
  • 11
  • 39
  • 62
1
vote
1 answer

Add Subscriber to Mailchimp list via Google App Script

I am trying to automate the addition of subscribers to a mailchimp mailing list using a google doc and google app script, which connects to the external mailchimp API. Whenever I try to test my script I receive a 'bad value' exception from…
1
vote
1 answer

No More than 10 Segment Members in A Batch Call with mailchimp-api-v3

I have been using mailchimp-api-v3 in node js for some time now and I think it is a great package and so easy to use. However, recently I needed to GET Segment Members for several segments using its .batch() method. Unfortunately, only 10 members…
PeterKA
  • 24,158
  • 5
  • 26
  • 48
1
vote
1 answer

Mailchimp API Put or Patch using Delphi REST

I have a program that can connect to mailchimp via the API and download the data, I now need to be able to update certain email addresses and add new ones. Within the Mailchimp layout I have a custom Merge field called MMMERGE6 which is a text…
Phil Hutchinson
  • 106
  • 2
  • 10
1
vote
1 answer

Can recipients for a Mailchimp campaign be passed as a list of email addresses?

Is it possible to create a Mailchimp campaign via the API and pass the recipients as a list of email address rather than using the segmenting options? The segmenting options seem a bit too limited for what I want to do and it would be easier if I…
Weeve
  • 11
  • 1
1
vote
1 answer

Recieving 401 error on mailchimp api fetch

function emailSubscribe() { if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/) { const data = { members: [ { email_address: document.getElementsByClassName("email input"), …
Agang Dut
  • 53
  • 1
  • 8
1
vote
1 answer

Adding subscriber to mailchimp 3.0 with node https

This is my app.js file: const express = require("express"); const bodyParser = require("body-parser"); const request = require("request"); const https = require("https"); const app =…
Imperial_J
  • 306
  • 1
  • 7
  • 23
1
vote
1 answer

Mailchimp API merge fields - date format

I am using the Mailchimp API to add a new member. I have defined a custom merge field called ADDED which is the date I added this member to the list. I want this field to be required when submitting it via the API. I defined it as DD/MM/YYYY format…
kneidels
  • 956
  • 6
  • 29
  • 55
1
vote
0 answers

Mailchimp Wordpress Plugin

I have built this Mailchimp Newsletter sign up plugin. PHP its not my strength so I am not being able to fix the error it has. I used This Mailchimp wrapper: https://github.com/drewm/mailchimp-api. My PHP file is:
stemon
  • 599
  • 1
  • 5
  • 23
1
vote
1 answer

Bootstrap Uncaught TypeError: $(...).modal is not a function

I'm trying to automatically close the modal after submitting the data to Mailchimp. But that's where the above issue occurs. I tried several existing solutions here, but they didn't seem to fix the issue. I have firing bootstrap events but still no…
user10261767
1
vote
1 answer

How do I effectively debug a JQuery GET request to MailChimp 3.0 servers?

I am trying to add users' emails to my Mailchimp 3.0 audience list. I am using JQuery to make the GET request, but I keep the following error: {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"API Key…