Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

order api not working properly

Solved

order api not working properly

Vishali
Shopify Partner
2 0 1

Order API not working properly with my custom app it gives order array blank but I have 4 order on my store .Product API and "order count" API working fine with my custom app. 

Accepted Solution (1)

SBD_
Shopify Staff
1831 273 419

This is an accepted solution.

Hey @Vishali 

Could the orders be >60 days old?

  • 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.

 

Scott | Developer Advocate @ Shopify 

View solution in original post

Replies 3 (3)

DavidGarcia
Visitor
1 0 0

I have the same problem with two of my accounts for a private app

SBD_
Shopify Staff
1831 273 419

This is an accepted solution.

Hey @Vishali 

Could the orders be >60 days old?

  • 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.

 

Scott | Developer Advocate @ Shopify 

Vishali
Shopify Partner
2 0 1

Thanks for your replay. It's work fine for new orders. I am very thankful to you for help 🙂