---
title: "Update Customer Group"
method: PATCH
path: "/v2/customerGroups/{customergroupId}"
tags: ["customerGroup"]
---

# Update Customer Group

`PATCH /v2/customerGroups/{customergroupId}`

Update a specific customer group

## Path parameters

- `customergroupId` string, uuid, required

## Headers

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

## Request body

- JTLWawiRestContractsModelsV1CustomerGroupUpdateCustomerGroup — Model Class: UpdateCustomerGroup
  - `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 updated 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.
- `404` — No customer group with the given ID exists.

---

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