Unable to get refund information for orders via restful api

Topic summary

A user is unable to retrieve refund information for an order through Shopify’s REST API, despite the order showing as refunded in the admin interface.

Key findings:

  • The /admin/api/2021-10/orders/{order_id}/refunds.json endpoint returns empty results
  • The order’s financial_status shows as “paid” rather than “refunded” or “partially_refunded”
  • Screenshots demonstrate the discrepancy between the admin UI (showing refund) and API response (no refund data)

Diagnosis:
According to the API data, no refund was actually processed by Shopify. If a refund had been accepted and processed, the financial status would reflect this change.

Recommended actions:

  1. Check the /orders/{order_id}/transactions.json endpoint to verify whether the refund or chargeback was processed
  2. Contact partner support to investigate why the refund wasn’t processed
  3. Consider upgrading from API version 2021-10 to the latest version

Status: Unresolved - requires further investigation into why the refund appears in the admin but wasn’t processed through the system.

Summarized with AI on November 21. AI used: claude-sonnet-4-5-20250929.

This order has been refunded, but the refund information is not available from the API.


[https://${host}/admin/api/2021-10/orders/{orderId}.json](https://${host}/admin/api/2021-10/orders/5150581948662.json)

1 Like

did you try /orders/{order_id}/refunds.json

Cheers,

Gary

Yes, it return empty.

1 Like

Huh, that shouldn’t be if the order has been refunded you should have something there, even if you voided the order and refunded the money it should be there… Whats the financial_status of the order?

Oh and on a side note you really should upgrade your API version from 2021-10 to the latest :slightly_smiling_face:

Cheers,

Gary

1 Like

financial_status is paid.

1 Like

if the refund was accepted and processed by shopify then the financial status would not be paid, but either refunded or partially refunded. According to the data a refund was not processed that is why there is not refunds in the refunds property.

Also check the transactions for the order_id

orders/{order_id}/transactions.json

That should tell you if the chargeback or refund was processed.

I would contact your partner support now with the information to find out why the refund was not processed.

Cheers,

Gary

1 Like