---
title: "Update Tax"
method: PUT
path: "/orders/{id}/tax_lines/{tax_id}"
tags: ["Taxes"]
---

# Update Tax

`PUT /orders/{id}/tax_lines/{tax_id}`

Update taxes for an existing orden

## Path parameters

- `id` string, required
- `tax_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- OrdersUpdateTaxesRequest — create new taxes for an existing order
  - `amount` integer — The amount to be collected for tax in cents
  - `description` string — description or tax's name
  - `metadata` unknown

## Response `200`

successful

## Other responses

- `401` — authentication error
- `404` — not found entity
- `422` — parameter validation error
- `500` — internal server error

---

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