---
title: "Update category"
method: PUT
path: "/menu/{locale}/categories/{id}"
tags: ["Menu"]
---

# Update category

`PUT /menu/{locale}/categories/{id}`

Updates an existing category. Only provided fields are changed (partial update).

## Path parameters

- `locale` integer, required
- `id` integer, required

## Request body

- UpdateCategoryRequest
  - `name` string
  - `description` string
  - `parent_category` integer, nullable
  - `order_position` integer
  - `is_active` 0 | 1
  - `translations` Translation[]
    - `lang` string — Language code (e.g. en, pl, de)
    - `name` string
    - `description` string

## Response `200`

Category updated

- object
  - `success` boolean
  - `data` CategoryDetail
    - `id` integer
    - `name` string
    - `description` string, nullable
    - `parent_category` integer, nullable
    - `order_position` integer
    - `is_active` integer
    - `translations` Translation[]
      - `lang` string — Language code (e.g. en, pl, de)
      - `name` string
      - `description` string

## Other responses

- `403` — API key not authorized for this locale or missing required scope
- `404` — Category not found

---

[API](https://skmtc.dev/myrest/apis/myrest-public-api.md) · [All operations](https://skmtc.dev/myrest/apis/myrest-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myrest/myrest-public-api/revisions/70905e6e4284/schema)
