Hello,
I am very surprised that there is no “tax” parameter in the “Create a refund” route in the GraphQL API : https://shopify.dev/api/admin-rest/2021-10/resources/refund#[post]/admin/api/2021-10/orders/{order_id}/refunds.json
All the refunds I do via the API have the “tax” lines set to zero, and therefore the taxes are not refunded at the command level.
Do you know if there is a way to also refund taxes when refunding an order via the GraphQL API?
When an order is refunded from the back office, the taxes are refunded correctly.
Thank you