---
title: "Patches a category"
method: PATCH
path: "/category/{categoryId}"
tags: ["Category"]
---

# Patches a category

`PATCH /category/{categoryId}`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Path parameters

- `categoryId` integer, required

## Request body

- CategoryDeltaApiModel
  - `Key` string, nullable
  - `Name` string, nullable
  - `Rank` integer, nullable
  - `Status` 'Active' | 'InActive'
  - `LandingPage` LandingPageDeltaApiModel
    - `FilterTemplateId` integer, nullable
    - `MerchandisingTemplateId` integer, nullable
    - `MerchandisingBuilderId` integer, nullable
  - `Parents` integer[], nullable
  - `Url` string, nullable
  - `LanguageId` integer, nullable

## Response `200`

OK

- integer

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
