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 tenant-wide customer group together with its assignment state for a Wawi-managed webshop. The result is not paged and supports no filtering or sorting.
QUERY
QueryShopCustomerGroups(salesChannelId: String!): [ShopCustomerGroupListItem!]!Arguments
salesChannelId
String!
required
Returns
customerGroupId
ID!
The customer group's internal key.
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?