Shopify Orders.Transactions: no APIs to return bulk data or time-based filters

smitra
New Member
1 0 0

The Transactions API in Orders does not provide any option for time-based filters, and works for only one Order at a time.

https://shopify.dev/docs/admin-api/rest/reference/orders/transaction#index-2021-04

Is there a way to retrieve all payment transactions across all orders - after a certain timestamp? Without this feature we're having to query - 1 order at a time - for all orders in the past month or so - which is very time consuming and unreliable (there could be a refund on an order 2 months back)

Time-based filters are supported for most (other) APIs. There's a "Shopify Payments" API - but I believe that's only for those transactions for which Shopify Payments gateway has been used.

Or is there a way to do this via GraphQL?

0 Likes
CalD
Shopify Staff
Shopify Staff
129 15 19

Hey @smitra,

There is not. If refund creation notifications are your focus here, you could look into subscribing to the refunds/create webhook.

CalD | Developer Support @ 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

0 Likes