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
2
votes
2 answers

How to unsubscribe / delete list members using Mailchimp3 in Python?

I am using mailchimp3 in Python. I managed to make batch insertion of users using this function: client = MailChimp(USERNAME, APIKEY) def fill_list(list_id, subscribers_data): data = {'operations': create_subscriptions_data(list_id,…
giliev
  • 2,938
  • 4
  • 27
  • 47
2
votes
1 answer

Mailchimp api v3 - can't create segment based on a TEXT merge field

I'm trying to create a segment based on a new merge field of type TEXT that I just created, by using condition_type = TextMerge since it seems to be the only option from their documentation that matches my…
2
votes
1 answer

Adding new subscriber to MailChimp returns Bad Request

In order to add a subscriber to MailChimp list using API 3.0 the parameters e-mailadress and status are required. If the request succeeds the response will contain the id in json-format. My problem is that when I use my Member Class to add a…
ptrask
  • 45
  • 6
2
votes
2 answers

MailChimp API v3 - Get members by email

I am using MailChimp API v1/v2. In that version, I could get member-info for multiple members by providing their emails to member-info API Now, I want to upgrade to v3, however, I am unable to find the equivalent API endpoint for member-info in v3.…
RAJ
  • 9,697
  • 1
  • 33
  • 63
2
votes
1 answer

Mailchimp API 3.0 How to retrieve statistics for an automation with a daterange

Hi I need to build a dashboard which shows stats for our automation campaigns such as sends, opens, bounces etc. The Mailchimp api only returns for the entire period the automation has been active. I want to see the stats for a particulier date,…
Steven Braham
  • 21
  • 1
  • 3
2
votes
2 answers

How am I supposed to consume the MailChimp JSON Schema for its API?

On the developer portion of its site, MailChimp links to a JSON schema describing its API. http://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with-mailchimp-api-3/#json-schema I am familiar with JSON schemas (Draft v4). I…
Jordan Place
  • 153
  • 1
  • 1
  • 7
2
votes
1 answer

Cannot create campaign Mailchimp API 3.0 - PHP

I'm trying to integrate the MailChimp API 3.0 with PHP into a custom built CMS. When I try to create a single campaign with the following code I have an error message. CODE: $apikey = <--api-key-->; $list_id = <--list-id-->; use…
balintpekker
  • 1,804
  • 4
  • 28
  • 42
2
votes
1 answer

MailChimp does not accept an email ending in @usace.army.mil

When I do an http post to a list with an email ending in @usace.army.mil I get the error message back (that says the email is fake) I know the email is not fake is there anyway to override this? : Invoke-RestMethod :…
2
votes
1 answer

Why isn't mailchimp API working with fetch?

I'm trying to add an email address to a mailchimp list I have. This is for a react native app and I'm trying to implement the request using fetch. This is my code within the component: import React, { Component } from 'react'; import { View, Text…
bloppit
  • 621
  • 8
  • 22
2
votes
1 answer

retrieve email address (only) via lists method in Mailchimp API v3.0

I am starting the migration from Mailchimp API 2.0 - 3.0, and am essentially trying to replicate the methods I used before. One task is to retrieve all of the members email addresses on a particular list currently I have $result =…
Craig Rushforth
  • 233
  • 4
  • 13
2
votes
1 answer

How to return errors from MailChimp API v3.0 batch operation

I’m struggling with the new MailChimp API and the batch functionality, specifically, how to return any errors from the underlying operations that were batched, not the batch operation itself. My code is below and works to add the two test…
Stace
  • 147
  • 1
  • 2
  • 9
2
votes
1 answer

Deploying ASP.NET Webhooks on web server with IIS7

I have read through a few .NET Webhooks tutorials and since it is relatively new for .NET the examples are pretty limited. I followed the tutorials to create a Webhook project in VS2013. When I published the project I got three files (Global.asax.…
iJared
  • 887
  • 3
  • 13
  • 26
2
votes
3 answers

"Please enter a complete address" error when adding/updating subscriber's address

I'm using MailChimp's API v3.0 and having problems when trying to update the subscriber's postal address. The data I'm sending is: [method] => patch [path] => lists/123456789/members/membershash [url] =>…
Peter
  • 243
  • 1
  • 4
  • 11
2
votes
4 answers

GIBBON::must set an api_key prior to making a call - rails

I used a tutorial to set up my app with mailchimp so that it sends a new subscriber to a mailchimp list. Everything is working just fine if you go through the flow. But when I ran Rspec Half of my test suite is red with this error…
Bitwise
  • 8,021
  • 22
  • 70
  • 161
2
votes
2 answers

How to create/update bulk of emails to Mailchimp list using their api 3.0?

I have a list that already created in MailChimp, and it has some addresses in the subscribed and unsubscribed lists. Now, I need to create/update list of subscribers using api in PHP code. $apiKey = "XXXXXXXXXXXXXXXXXXXXXXXXX-us12"; $subscribers =…
Manikandan Arunachalam
  • 1,470
  • 3
  • 17
  • 32