Okapi Okapi

Mailchimp Marketing API include_total_contacts query parameter removal on GET /3.0/lists

Deprecated, no dateSubscribe to Mailchimp Marketing APIShare

Mailchimp Marketing API deprecated GET /3.0/lists, query parameter include_total_contacts without giving a shutdown date yet.


Calls it hits

  • GET /3.0/lists
  • query parameter include_total_contacts

What to use instead of these calls

Read the audience contact count from the /audiences endpoints.

The /audiences endpoints are in beta.

In Mailchimp Marketing API's words

Deprecated. Return the total_contacts field in the stats response, which contains an approximate count of subscribed, unsubscribed, and transactional contacts. For a complete audience contact count, use the /audiences endpoint instead.

Mailchimp Marketing API, Announcement

Facts

API
Mailchimp Marketing API *.api.mailchimp.com
Kind
Parameter removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Mailchimp Marketing API's own pages

Questions

When does this change take effect?

Mailchimp Marketing API deprecated GET /3.0/lists, query parameter include_total_contacts without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Mailchimp Marketing API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Mailchimp Marketing API 4

  1. /2.0/*Version retirement Stopped working
  2. /export/1.0/*Version retirement Stopped working
  3. No date GET /3.0/lists/{id}Parameter removal Deprecated, no date
  4. No date GET /3.0/conversations*Removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Mailchimp Marketing API

Hear about each breaking change Mailchimp Marketing API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Mailchimp Marketing API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.