---
title: "Update a tax rate"
method: PUT
path: "/taxes/rates/{id}"
tags: ["Tax Rates"]
---

# Update a tax rate

`PUT /taxes/rates/{id}`

Use when changing a tax rate (e.g. rate value or name). Request body contains the fields to update.

## Path parameters

- `id` string, required

## Request body

- UpdateTaxRateRequest
  - `code` string — code is the updated unique alphanumeric identifier for the tax rate
  - `description` string — description is the updated text description for the tax rate
  - `metadata` object — metadata contains updated key-value pairs that will replace existing metadata
  - `name` string — name is the updated human-readable name for the tax rate
  - `tax_rate_status` 'ACTIVE' | 'INACTIVE'

## Response `200`

OK

- TaxRateResponse
  - `code` string
  - `created_at` string, date-time
  - `created_by` string
  - `description` string
  - `environment_id` string
  - `fixed_value` string
  - `id` string
  - `metadata` object
  - `name` string
  - `percentage_value` string
  - `scope` 'INTERNAL' | 'EXTERNAL' | 'ONETIME'
  - `status` 'published' | 'deleted' | 'archived'
  - `tax_rate_status` 'ACTIVE' | 'INACTIVE'
  - `tax_rate_type` 'percentage' | 'fixed'
  - `tenant_id` string
  - `updated_at` string, date-time
  - `updated_by` string

## Other responses

- `400` — Invalid request
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/d567e8585c2e/schema)
