Hi
This is for our shopify plus client
When order is places we get order total in the json file
And when return is processed for that order, is there any way in which we can get the total of amount refunded in json
e.g
for order number: #XXXX
URL: https://YOUR_DOMAIN.myshopify.com/admin/orders/4895948669177.json
total is SAR 60
but when the item is refunded
URL:https://YOUR_DOMAIN.myshopify.com/admin/orders/4895948669177/refunds.json
I am getting
- inside refund_line_items SUBTOTAL as 50
- inside order_adjustments kind: “shipping_refund”, as -10
- inside transactions amount 60 , if there were more than 1 way of refunds e.g gift card this would been a breakup there too
My Client wants a total value of refunds [say refunds_total or total_refunded] similar to the forward flow for their records so that they do not need to do the addition and subtraction at their end and avoid any data issue
Let us know if this is possible