Order API Limit

Craig_Sturtevan
Shopify Partner
2 0 0

I am only getting 50 orders returned in my request.   Not sure why, any guidance on where there maybe limits set within Shopify?

https://site*****.myshopify.com/admin/orders.xml?fields=order_number

 

Reply 1 (1)

Michal17
Shopify Partner
835 73 175

Hi @Craig_Sturtevan 

Hope you're having a great day!

As specified by Shopify:

As of June 6th, 2018, only the last 60 days' worth of orders from a store will be accessible from the Order resource by default. If you want to access older orders, then you need to request access to all orders. If your app is granted access, then you can add the read_all_orders scope to your app along with read_orders or write_ordersPrivate apps are not affected by this change and are automatically granted the scope.

If you have any further questions, please do reach out either here on the forum, or via private message/email.