A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello Team,
Hope you are doing great!!
We are Webgility and have mutual customers. We are consuming the Shopify order/refund download API in our Webgility application.
Our mutual customers are experiencing an issue while downloading the Orders and their refunds. As we checked in API response and we are getting Order with the Tax amount of 1.47 but in its refunds Tax amount is less, that is 1.04 but on the store is showing similar to the orders.
I am attaching the screenshot of the store and response of the API, Could you please check and help us to resolve the customer issue on priority.
API URL - https://alo-brands.myshopify.com/admin/api/2020-01/orders/4560879616256.json
Please let us know if you require any information from our side.
Thank you!
Solved! Go to the solution
This is an accepted solution.
Hey @Webgility1
It looks like the difference of ($0.43) between the total_tax in the refund_line_items ($1.04) and the total tax on the order ($1.47) is due to the difference in tax on the shipping label.
The total tax on order was 8.625%
The shipping label cost on the Order was $4.90
8.625% of 4.90 = 0.43.
On the refunds.json endpoint, if you check the order_adjustments array, you will see the order adjustment for Order ID 4560879616256 for a shipping refund of $0.43. Order adjustments are generated to account for refunded shipping costs and differences between calculated and actual refund amounts(docs) . Hope that helps!
This is an accepted solution.
Hey @Webgility1
It looks like the difference of ($0.43) between the total_tax in the refund_line_items ($1.04) and the total tax on the order ($1.47) is due to the difference in tax on the shipping label.
The total tax on order was 8.625%
The shipping label cost on the Order was $4.90
8.625% of 4.90 = 0.43.
On the refunds.json endpoint, if you check the order_adjustments array, you will see the order adjustment for Order ID 4560879616256 for a shipping refund of $0.43. Order adjustments are generated to account for refunded shipping costs and differences between calculated and actual refund amounts(docs) . Hope that helps!
Hello Team,
Thank you for your valuable response. based on your response, We will check at our end and do the enhancement.
We will let you know if we need anything on this case.
Thank you!