Covers all questions related to inventory management, order fulfillment, and shipping.
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.
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
Is there an update on this?
Seems like Return ID is only available if return is created using API call - https://shopify.dev/docs/apps/fulfillment/returns-apps/returns#step-2-request-a-return.
There seems no way to fetch the return ID if the return was initiated using Shopify Admin UI. And retrieving a return needs the ID -https://shopify.dev/docs/apps/fulfillment/returns-apps/returns#step-2-request-a-return
Same applies to the Approve/Decline operations for Returns, where Return ID is mandatory.
It will be great if someone from Shopify can through some light on this.
Was there any update on it, we are also looking to retrieve Returns from Shopify.
Yes, can be done through GraphQL
Hope this saves some time.
Yes it does saves a lot of time. Is there a way to get only the Orders with Return Id. I'm new to GraphQL so trying to understand as I go.