How to get Shopify returns which is created in given date range

1 0 0

I want to get return orders details which is shown in the Shopify UI Using Graph QL API orders mutations. How do I get all the return orders for given date range.
Or Is there any way to get All returns of specific date range?


Thanks In Advance.

Reply 1 (1)

Shopify Staff
1323 218 459

Hey @IleshParmar ,


That's a great question. There isn't currently a returns query that you can use, but there is a return_status filter available on the orders connection. 


You could use that filter paired with the updated_at or created_at filters to narrow down the return orders around specific dates. 


You may also find this document interesting as it give a high level overview of the returns process and various API calls that can be used! 


Hope this helps. 


- Kyle G. 

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 or the Shopify Web Design and Development Blog