---
title: "Create Customer Category"
method: POST
path: "/v2/customerCategories"
tags: ["customerCategory"]
---

# Create Customer Category

`POST /v2/customerCategories`

Create a new customer category

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLWawiRestContractsModelsV1CustomerCategoryCreateCustomerCategory — Model Class: CreateCustomerCategory
  - `name` string — The customer category name.

## Response `201`

The created customer category.

- JTLWawiRestContractsModelsV1CustomerCategoryCustomerCategory — Model Class: CustomerCategory
  - `id` string, uuid
  - `name` string — The customer category name.

## Other responses

- `400` — The sent data is invalid.
- `401`
- `402` — No licence available or the app has not been authorised by JTL.

---

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