---
title: "Changes to Update a tax rule"
method: PATCH
path: "/tax_rules/{taxRuleId}"
---

# Changes to Update a tax rule

`PATCH /tax_rules/{taxRuleId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 13 info

## Changes

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 13 info
  - added the new required request property `data/relationships/manual_tax_calculator/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/manual_tax_calculator/id`
  - removed the request property `data/relationships/manual_tax_calculator/type`
  - the request property `data/attributes/country_code_regex` became nullable
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/not_country_code_regex` became nullable
  - the request property `data/attributes/not_state_code_regex` became nullable
  - the request property `data/attributes/not_zip_code_regex` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the request property `data/attributes/state_code_regex` became nullable
  - the request property `data/attributes/tax_rate` became nullable
  - the request property `data/attributes/zip_code_regex` became nullable
  - the `type` request property default value `tax_rules` was removed
  - added the new `tax_rules` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/tax_rules/:taxRuleId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/tax_rules/:taxRuleId/patch)
