---
title: "Create Customer Group"
method: POST
path: "/v2/customerGroups"
tags: ["customerGroup"]
---

# Create Customer Group

`POST /v2/customerGroups`

Create a new customer group

## Headers

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

## Request body

- JTLWawiRestContractsModelsV1CustomerGroupCreateCustomerGroup — Model Class: CreateCustomerGroup
  - `name` string — The name of the customer group.
  - `isDefault` boolean — Indicates if the customer group is the default group. Only one group can be selected as the default group.
  - `discount` number — The discounted percentage for the customer group.
  - `isNetPrice` boolean — Indicates if the customer group sees the net price in the online shop.

## Response `201`

The created customer group.

- JTLWawiRestContractsModelsV1CustomerGroupCustomerGroup — Model Class: CustomerGroup
  - `id` string, uuid
  - `name` string — The name of the customer group.
  - `isDefault` boolean — Indicates if the customer group is the default group. Only one group can be selected as the default group.
  - `discount` number — The discounted percentage for the customer group.
  - `isNetPrice` boolean — Indicates if the customer group sees the net price in the online shop.

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