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.

Admin REST API for Transaction Orders

Admin REST API for Transaction Orders

Yadnyesh
Visitor
3 0 0

Hello Team,

 

I attempted to retrieve all transactions from our Shopify stores using the GET method but encountered an issue. Despite using "any" as the status parameter, I couldn't retrieve all orders. It's possible that some transactions are archived, or there might be something I'm overlooking. Can we investigate this to determine the cause and find a solution?

Thanks

Replies 2 (2)

Liam
Community Manager
3108 344 899

Hi Yadnyesh,

 

For the transactions that are not being returned in the get request, are there any specific commonalities, eg: they are all archived, all associated with a specific payment gateway. If you can narrow down the properties of the missing transactions you may be able to get them via a request that has a specific structure. 

 

You also might be able to retrieve them via the GraphQL API rather than using REST. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me 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

Yadnyesh
Visitor
3 0 0

Thanks for the reply Liam.

 

In some cases, I've noticed that I can retrieve transaction data up to a specific date for a particular store, but for other stores, I'm unable to retrieve all the transactions, and there doesn't seem to be a consistent pattern for the missing data. My suspicion is that these missing orders might be archived, and it's possible that the REST API is not providing access to this archived data. After reviewing the documentation, I understand that the API should, in theory, be able to access archived orders.
Let me know if I'm missing something here ?
I believe that retrieval of transactions  are limited in my account. 

Thanks