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 reported live by the connector endpoint. Each entry includes its JTL-Wawi customer-group mapping if one exists (“CustomerGroupId” is null for unmapped groups). The endpoint is contacted on every request.
QUERY
QueryConnectorCustomerGroups(salesChannelId: String!): [ConnectorCustomerGroupListItem!]!Arguments
salesChannelId
String!
required
Returns
endpointId
String!
Identifier of the customer group at the endpoint. Always set; groups reported without an 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 JTL-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?