Query
query QueryConnectorCustomerGroups($salesChannelId: String!) {
QueryConnectorCustomerGroups(salesChannelId: $salesChannelId) {
endpointId
endpointName
customerGroupId
isDefault
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryConnectorCustomerGroups": [
{
"endpointId": "string",
"endpointName": "string",
"customerGroupId": "id",
"isDefault": true
}
]
}
}Queries
QueryConnectorCustomerGroups
Delivers the customer groups assigned to a connector account.
QUERY
QueryConnectorCustomerGroups(salesChannelId: String!): [ConnectorCustomerGroupListItem!]!Arguments
salesChannelId
String!
required
Returns
endpointId
String!
The customer group's identifier on the endpoint side. Always present — rows the endpoint reports without a usable identifier are not returned.
endpointName
String
The customer group's display name on the endpoint side, or null if no usable localized name was reported.
customerGroupId
ID
ID of the internal Wawi customer group this endpoint group is mapped to, or null if the endpoint group has not been mapped yet.
isDefault
Boolean!
This customer group is the default customer group for the connector account.
Query
query QueryConnectorCustomerGroups($salesChannelId: String!) {
QueryConnectorCustomerGroups(salesChannelId: $salesChannelId) {
endpointId
endpointName
customerGroupId
isDefault
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryConnectorCustomerGroups": [
{
"endpointId": "string",
"endpointName": "string",
"customerGroupId": "id",
"isDefault": true
}
]
}
}Was this page helpful?