Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

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

marvinbaltazar
Shopify Partner
8 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 2 (2)

Lmazz214
New Member
4 0 0

Did you ever solve this issue? I'm having an issue suddenly where I cannot refund or return IG/FB orders at all. It just happened randomly one day and I wonder if it is an API issue.

marvinbaltazar
Shopify Partner
8 0 0

Unfortunately I wasn't able to solve this. I contacted Shopify support and they tried re-indexing the Shopify account, but that didn't fix this.