when I passing page_info parameter with created_at_min parameter in order list REST API then I am get this response.“created_at_min”:"created_at_min cannot be passed when page_info is present.
Topic summary
A user encountered an error when combining the created_at_min parameter with page_info in Shopify’s REST API order list endpoint. The error message indicated that created_at_min cannot be passed when page_info is present.
Solution provided:
- Use
created_at_min(or other filter parameters) only in the initial API request - For subsequent paginated requests, use only the
page_infolink returned in the response header - Do not combine filtering parameters with
page_infoin pagination calls
Outcome: The issue was resolved successfully. The user confirmed the solution worked after struggling to find clear guidance in available documentation.
Hi,
Just use the page_info for paginated results, you don’t need to add the created_at_min parameter in the request.
Hello Jazz-Jay,
So you’re saying that no any other parameters work with page_info in the rest api?
Hi,
When you make the first request, include the created_at_min parameter or any other parameter you need. Then to make paginated request, just include the page_info link that is returned in the response header.
Hi,
Okay, thanks for directing my attention to that.
Thank you
Hey Jazz-Jay,
Thanks a lot,
It is functional.
I looked through many documents and blogs online, but I couldn’t find a solution. Thank you once more for your assistance in finding an easy solution.
Thanks!
