Query
query QueryShopCustomerGroups($salesChannelId: String!) {
QueryShopCustomerGroups(salesChannelId: $salesChannelId) {
customerGroupId
isAssigned
isDefault
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryShopCustomerGroups": [
{
"customerGroupId": "id",
"isAssigned": true,
"isDefault": true
}
]
}
}Queries
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
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.
Query
query QueryShopCustomerGroups($salesChannelId: String!) {
QueryShopCustomerGroups(salesChannelId: $salesChannelId) {
customerGroupId
isAssigned
isDefault
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryShopCustomerGroups": [
{
"customerGroupId": "id",
"isAssigned": true,
"isDefault": true
}
]
}
}Was this page helpful?