A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Solved! Go to the solution
This is an accepted solution.
Hi @Piam - thanks for reaching out. At the moment, you are correct in pointing out that the currency may not match the shop's currency in the refund resource/object's transaction history data when queried via the API. You can pull transaction information directly on the order object though and have it display in the shop's currency by using the in_shop_currency=true parameter/value. This will also display refund transactions in the shop's currency.
Hope this helps - let us know if we can clarify anything further on our end.
Al | Shopify Developer Support
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi @Piam - thanks for reaching out. At the moment, you are correct in pointing out that the currency may not match the shop's currency in the refund resource/object's transaction history data when queried via the API. You can pull transaction information directly on the order object though and have it display in the shop's currency by using the in_shop_currency=true parameter/value. This will also display refund transactions in the shop's currency.
Hope this helps - let us know if we can clarify anything further on our end.
Al | Shopify Developer Support
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
We implemented tested and deployed this and it works exactly as advertised.
Thank you!
--Piam