---
title: "Modify an existing Category."
method: PUT
path: "/categories/{id}.json"
tags: ["Categories"]
---

# Modify an existing Category.

`PUT /categories/{id}.json`

## Path parameters

- `id` integer, required

## Request body

- CategoryEdit
  - `category` CategoryEditFields
    - `name` string — Name of the Category
    - `default_order` 'position-asc' | 'name-asc' | 'name-desc' | 'price-asc' | 'price-desc' | 'date-desc' — Default order of the products in the category
    - `description` string — Description of the Category
    - `filters_visibility` boolean — Indicates if the filters are visible in the category page
    - `not_recommendable` boolean — Indicates if the category is recommendable or not
    - `parent_id` integer — Unique identifier of the Parent Category
    - `products` object[] — Array of products to be associated with the category
      - `id` integer — Unique identifier of the Product
    - `template` string — Template used to render the category page.
    - `permalink` string — Category unique URL path.
    - `page_title` string — SEO Page title for the category page. If not set, category name will be used as page title.
    - `meta_description` string — SEO Meta description for the category page. If not set, category description will be used as meta description.

## Response `200`

OK

- Category
  - `category` CategoryFields
    - `id` integer — Unique identifier of the Category
    - `name` string — Name of the Category
    - `parent_id` integer — Unique identifier of the Parent Category
    - `permalink` string — Category unique URL path

## Other responses

- `404` — Category Not Found.

---

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