---
title: "Update a category"
method: PUT
path: "/api/v1/categories/{id}"
tags: ["Categories"]
---

# Update a category

`PUT /api/v1/categories/{id}`

You can supply all or any combination of the following properties in the request body:<br /><pre><code>
   {<br />
      "name": "string",
      "description": "string",
      "in_category_description": "string",
      "meta_description": "string",
      "meta_keywords": "string",
      "meta_title": "string",
      "order_location": 0,
      "live": true,
      "parent_category_id": 0,
      "image_id": 0,
      "in_category_image_id": 0,
      "last_updated": "string"
   }<br /></code></pre>

## Path parameters

- `id` integer, required — The category ID

## Request body

- object, nullable

## Response `200`

The updated category

- TempestResponseV1Category
  - `meta` object, nullable
  - `links` TempestLink[], nullable
    - `rel` string, nullable
    - `href` string, nullable
  - `validation_result` TempestValidationError[], nullable
    - `member_names` string[], nullable
    - `error_message` string, nullable
  - `errors` object, nullable
  - `data` V1Category
    - `id` integer
    - `name` string, required
    - `description` string, nullable
    - `in_category_description` string, nullable
    - `meta_description` string, nullable
    - `meta_keywords` string, nullable
    - `meta_title` string, nullable
    - `order_location` integer
    - `live` boolean
    - `parent_category_id` integer, nullable
    - `image_id` integer, nullable
    - `in_category_image_id` integer, nullable
    - `last_updated` string, date-time, nullable

## Other responses

- `400` — Invalid Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — No category for that ID found

---

[API](https://skmtc.dev/ekm/apis/ekm-partner-api.md) · [All operations](https://skmtc.dev/ekm/apis/ekm-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ekm/ekm-partner-api/revisions/853bef073bb3/schema)
