Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!
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.

Can't get full list of orders, only 7 of them...

Solved

Can't get full list of orders, only 7 of them...

Alex_Beacon
Shopify Partner
26 0 3

Hi Shopify Team,

I have an app that gets recent orders of the merchant (with last shopify update we can get only last60 days orders).
Evertything was fine untill I recognized that for one merchant shopify api gets only 7 recent orders. But merchant told me that he has plenty of another orders, something like 200-300 for the past 60 days. He said that "the 7 orders that were imported are orders that were never fufilled. They were also all bank transfers."
So i tried even another shopify library to get those all orders, but it was same - 7 orders.
Could youhelp me please? What can be wrong? Is it a Shopify issue?


Thanks.
Alex

Decrease fraudulent orders, stop chargebacks and expand globally with Beacon. https://apps.shopify.com/beacon
Accepted Solution (1)

Jason
Shopify Partner
11207 226 2320

This is an accepted solution.

Have you looked into adding the status parameter? May not be related but a quick one to rule out early.

 

status 

Filter orders by their status.

(default: open)
  • open: Show only open orders.
  • closed: Show only closed orders.
  • cancelled: Show only canceled orders.
  • any: Show orders of any status.
★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

View solution in original post

Replies 2 (2)

Jason
Shopify Partner
11207 226 2320

This is an accepted solution.

Have you looked into adding the status parameter? May not be related but a quick one to rule out early.

 

status 

Filter orders by their status.

(default: open)
  • open: Show only open orders.
  • closed: Show only closed orders.
  • cancelled: Show only canceled orders.
  • any: Show orders of any status.
★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
Alex_Beacon
Shopify Partner
26 0 3

Thanks! Probably that's the case.

 

Should I use "any", then ?

Interesting why it happened with one merchant. We have 100 more stores and everything is ok. We can get orders with any status. That's strange...

Decrease fraudulent orders, stop chargebacks and expand globally with Beacon. https://apps.shopify.com/beacon