Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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 any explain this output?

Can any explain this output?

Claus3
Visitor
1 0 0

Skærmbillede 2022-12-15 163623.png

Can anyone tell me, why im only getting two orders? I was expected getting all my orders. 800+

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 522

Hi @Claus3 👋

 

It's a little challenging to determine from this screenshot what could be causing the missing orders. 

From what I can gather in the image shared, the client configuration is leveraging REST Order endpoint and this defaults to returning orders with a status of open when returning a list/multiple orders. As a starting point, try updating the query param to include ?status=any per the example from the docs, and compare with the results shared above. 

If you are still seeing unexpected behavior and can share request header details from a recent request (x-request-id and date), we can take a closer look for logs and pass back insights!

Cheers!

 

 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog