New Shopify Certification now available: Liquid Storefronts for Theme Developers

Retrieve a return

A7am
Shopify Partner
1 0 1

I need to retrieve a return, I am stuck with this how to get a return Id in order to retrieve a return.
When we do request a return, I get the return ID. 
But Other than that there is a way to get the return ID using admin APIs.

I have also tried this 
{store_URL}/orders.json?return_status=return_requested

In this i did not got the return ID.

Reply 1 (1)
Nafiul
Shopify Partner
39 4 6

Please check the order data using the get request /admin/orders/{order_id}.json  and then check the response in your console and then you will figure out how you can use it. But I am not sure if you will get the return status or not but you will get the return id. 

Thank you
Nafiul

- Was my reply helpful? Please Click Like
- Question answered? Mark it as an Accepted Solution.
Your Coffee Tip fuels our coding support magic.BUY ME A COFFEE
Looking for an experienced Shopify developer? Visit PointerFlow.com