# How to update taxes on an existing order using GraphQL?

**URL:** <https://community.shopify.dev/t/how-to-update-taxes-on-an-existing-order-using-graphql/39143>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** rest-migration, general-gql-troubles\
**Created:** [October 28, 2026, 1:50pm UTC](https://community.shopify.dev/t/how-to-update-taxes-on-an-existing-order-using-graphql/39143 "2026-10-28T13:50:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biz-Tech\_Services](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/biz-tech_services/32/14156_2.png) [@Biz-Tech\_Services](https://community.shopify.dev/u/Biz-Tech_Services)\
**Post date:** [October 28, 2026, 1:50pm UTC](https://community.shopify.dev/t/how-to-update-taxes-on-an-existing-order-using-graphql/39143/1 "2026-10-28T13:50:38Z")

</div>

I need to update taxes on an existing order using the GraphQL API. Can tax lines and tax amounts be updated directly, or is there a supported way to recalculate them?

Which mutation should I use? An example request would be helpful.

This functionality is available when creating an order, but I also need it when updating an existing order. How can I update tax lines and tax amounts using GraphQL?

---

<div class="post-metadata">

**Author:** ![KyleG-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/kyleg-shopify/32/6799_2.png) [@KyleG-Shopify](https://community.shopify.dev/u/KyleG-Shopify)\
**Post date:** [October 28, 2026, 8:52pm UTC](https://community.shopify.dev/t/how-to-update-taxes-on-an-existing-order-using-graphql/39143/2 "2026-10-28T20:52:45Z")

</div>

Hey @Biz-Tech_Services it’s not possible to directly edit the tax lines on an order. However, when you do edit an order, the tax will be recalculated based on the store’s tax settings.

> **[Edit existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders)**
>
> Use the GraphQL Admin API to edit existing orders.
