---
title: "Update a market"
method: PATCH
path: "/taxonomies/markets/{id}"
tags: ["Markets"]
---

# Update a market

`PATCH /taxonomies/markets/{id}`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/taxonomies/markets/{id}`
- Auth: HTTP bearer

Partial update. Changing slug auto-adds the previous slug to aliasSlugs and taxonomyAliases. Does not cascade to companies.markets arrays (rely on alias resolution).

## Path parameters

- `id` string, required: The market's opaque object id (not the slug). Use list/create responses to obtain it.

## Request body

- UpdateMarketBody
  - `name` string
  - `slug` string
  - `sourceLocale` string

## Response `200`

Successful response.

- Market
  - `id` string, required
  - `object` 'market', required
  - `name` string, required
  - `slug` string, required
  - `aliasSlugs` string[], required
  - `sourceLocale` string, nullable, required
  - `createdAt` string, required

## Other responses

- `404`: Not found.
- `409`: Slug taken.

## Changes

- **2026-10-19** `c34152c38176`: 2 info
  - added the optional property `error/upgrade` to the response with the `404` status
  - added the optional property `error/upgrade` to the response with the `409` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/taxonomies/markets/:id/patch.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
