Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Total Amount Doesn't Change When Refunded Using The Order API

Total Amount Doesn't Change When Refunded Using The Order API

Ralph-HA
Shopify Partner
108 7 46

Hi There,

   We have a merchant who is using one of our apps to import refunds.  When importing refunds we rely on the transaction data and we noticed that the total amount field doesn't change after the order is refunded.  There are a few things that look a little suspect on the data but I'm not sure if something else is going on.  The merchant mentioned that when they do a refund in the Shopify Admin this field changes to 0.  I was wondering if someone could help shed some light on this for me.

  I have a some request ids from the merchant and from some tests that I've run.  I can also reproduce the issue if that would be helpful.

Thanks!

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill
Replies 2 (2)

CalD
Shopify Staff
140 22 36

Hey @Ralph-HA,

Feel free to send over the reproduction steps and request ids, including any recent ones, and we can take a look into it further! (Could you also clarify the specific field name from the docs that you're not seeing update? Is it "amount"?)

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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

Ralph-HA
Shopify Partner
108 7 46

Hey Cal,

   Thank you for getting back to me.  I just wanted to let you know I sent you a private DM as I have some merchant data to help show the problem and didn't think it was a good idea to respond with that data in public.

Let me know if there is anything else you need,

Ralph

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill