Created_at_min does not return all orders in the range

Created_at_min does not return all orders in the range

1 0 1

I am having an issue with the API not returning all orders in a range. I am using the created at min function and giving it a date like so:
This works for the most part but I have random orders that are left out of the return, is there anything other than status=any that would grab all orders and not leave any out regardless of their status? See below example:shopify API issue.png

Replies 2 (2)

Shopify Partner
5 0 0


You will need to request access to all orders, by default apps can access orders for last 60 days only. That is why its not showing up for you. 





Shopify Partner
2405 223 540

Hello @AngelTudon,

Greetings from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot! I am Gina, and I am here to help.

The status=any parameter should include all orders regardless of their status, so it's unlikely that this is causing the issue. However, there are a few other things to consider.

1. Timezone
Make sure that the date you are passing in is in UTC timezone, as Shopify uses UTC for all date/time values.

2. Pagination
The Shopify API limits the number of results returned in a single request, so if you have a large number of orders in the specified date range, you may need to use pagination to retrieve all of them. You can use the page parameter to specify which page of results you want to retrieve.

3. Rate limiting
The Shopify API has rate limits in place to prevent excessive API usage. If you are making too many API requests in a short period of time, you may be rate limited and not receive all of the orders you are expecting. You can check the X-Shopify-Shop-Api-Call-Limit header in the API response to see if you are being rate limited.

If none of these issues are causing the problem, it's possible that there is a bug or issue with the Shopify API itself. In this case, you may want to contact Shopify support for assistance.


flareAI : Get Sales from Google Search, on Autopilot
$10+ billion in eCommerce on Google Search, every day. Find out how much you are missing