Hi,
I’m using the Orders API (https://shopify.dev/docs/api/admin-rest/2024-04/resources/order#get-orders-order-id?fields=id,line-items,name,total-price) to get the order details and refunds.
However, for some orders, the Refunds data is empty ("refunds": []). When we download the Sales report in the Reports section of the Admin dashboard for that store, we can see that there were refunds for those orders.
One thing I noticed though is that the Sales Channel for those orders are “Facebook & Instagram”. For orders that are from “Online Store”, I can retrieve the refunds data with no issues.
Even when using the Refunds API (https://shopify.dev/docs/api/admin-rest/2024-04/resources/refund#get-orders-order-id-refunds), no Refunds data can be retrieved for those orders.
Did anyone encounter a similar issue before?
Thanks!