PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 6, 2022

[FIXED] How to get all lists on mailchimp API v3.0?

 September 06, 2022     mailchimp, mailchimp-api-v3.0     No comments   

Issue

At this moment one request returns 10 list objects. So how can I get all lists from API v3.0 or is it even possible? I don't see cursor_next or anything like that in the response I got from API.

I'm speaking about this endpoint: http://kb.mailchimp.com/api/resources/lists/lists-collection


Solution

Not sure how this can be so hard, but I didn't found this information from MailChimp API v3.0. Instead some project in github adviced me what to do..

So the answer: Pagination in API v3.0 is always done with count and offset



Answered By - lehtu
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing