Shopify has a "return reason" field when returning items on Shopify web (screenshot below)
However, I do not think this data is made available anywhere in the API. I verified by trying to get to the API details but only the "refund note" seems to be available.
I think this is because the POS does not have this drop-down feature when returning (also see - https://community.shopify.com/c/Technical-Q-A/Is-there-a-way-to-include-an-option-to-select-a-reason...)
Many merchants use this feature regularly and there doesn't seem to be any place where it can be aggregated and analyzed on.
Can this data be made available as a part of the order API?
Thank you for looking into this. Really appreciate it! 🙂
I think you are searching for https://shopify.dev/docs/admin-api/rest/reference/orders/refund#create-2021-01(return)
Maybe this post can help you => https://community.shopify.com/c/Shopify-APIs-SDKs/Return-API/m-p/642940#M43569
+1 Just posted this same question on another thread before arriving at this post. Would be hugely beneficial if we could access return reasons at the line item level within the API. Also had a call with a Shopify rep who may have an answer for all of us. Will share once available.
We also need this data in the API or available to be analyzed within Shopify. Right now, we're collecting data that we can't do anything with. Please and thank you!