Orders API does not return refunds data (Facebook & Instagram)

marvinbaltazar
Shopify Partner
7 0 0

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-i...) 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!

Replies 0 (0)