---
title: "Create a new Category."
method: POST
path: "/categories.json"
tags: ["Categories"]
---

# Create a new Category.

`POST /categories.json`

Category's permalink is automatically generated from the given category's name.

## Request body

- CategoryCreate
  - `category` CategoryCreateFields
    - `name` string — Name of the Category
    - `parent_id` integer — Unique identifier of the Parent Category

## 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

---

[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)
