> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisepim.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Category

> Create a new product category via the WISEPIM API. Define parent relationships, set metadata, and build your catalog hierarchy programmatically with ease.

Create a new category for organizing products.

### Body Parameters

<ParamField body="name" type="string" required>
  Category name
</ParamField>

<ParamField body="project" type="integer" required>
  Project ID
</ParamField>

<ParamField body="parent" type="integer">
  Parent category ID for nested categories
</ParamField>

<ParamField body="description" type="string">
  Category description
</ParamField>

<ParamField body="is_active" type="boolean" default="true">
  Whether the category is active
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "name": "Electronics",
    "project": 1,
    "parent": null,
    "description": "Electronic products category",
    "is_active": true
  }
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": 1,
    "name": "Electronics",
    "slug": "electronics",
    "project": 1,
    "created_at": "2024-01-01T12:00:00Z"
  }
  ```
</ResponseExample>
