---
title: "Query Customer Groups"
method: GET
path: "/v2/customerGroups"
tags: ["customerGroup"]
---

# Query Customer Groups

`GET /v2/customerGroups`

Query all customer groups

## Headers

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

## Response `200`

Returns all customer groups.

- JTLWawiRestContractsModelsV1CustomerGroupCustomerGroup[]
  - `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

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