GraphQL order refund and VAT

polozerance
Tourist
4 0 1

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_i...

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

Reply 1 (1)
polozerance
Tourist
4 0 1

Hi,

Up ! 

Is is impossible on Shopify to set a VAT on a refund from GraphQL ?
It seems like a basic feature

 

Regards