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

# QueryShopCustomerGroups

> Delivers every customer group of the tenant together with its assignment state for a JTL-Wawi-managed online shop. Not paged; no filtering or sorting.



**query** `QueryShopCustomerGroups(salesChannelId: String!): [ShopCustomerGroupListItem!]!`

## Arguments

**`salesChannelId`**: `String!` (required)

## Returns

`[ShopCustomerGroupListItem!]!`

**`customerGroupId`**: `ID!`

ID of the customer group.

---

**`isAssigned`**: `Boolean!`

This customer group is currently assigned to the shop.

---

**`isDefault`**: `Boolean!`

This customer group is the shop default customer group. Only meaningful while IsAssigned is true.

