Skip to main content

CustomerGroup

A customer group. Customers are assigned to exactly one group, which drives pricing and registration behaviour.

type CustomerGroup implements Node {
id: ID!
name: String
customers(
first: Int = 10
after: String
filter: CustomerFilterInput
): CustomerConnection
registrationSalesChannels(
first: Int = 10
after: String
filter: SalesChannelFilterInput
): SalesChannelConnection
salesChannels(
first: Int = 10
after: String
filter: SalesChannelFilterInput
): SalesChannelConnection
}

Fields​

CustomerGroup.id ● ID! non-null scalar​

Global identifier for this entity.

CustomerGroup.name ● String scalar​

Localised display name of the customer group.

CustomerGroup.customers ● CustomerConnection object​

CustomerGroup.customers.first ● Int scalar​
CustomerGroup.customers.after ● String scalar​
CustomerGroup.customers.filter ● CustomerFilterInput input​

CustomerGroup.registrationSalesChannels ● SalesChannelConnection object​

CustomerGroup.registrationSalesChannels.first ● Int scalar​
CustomerGroup.registrationSalesChannels.after ● String scalar​
CustomerGroup.registrationSalesChannels.filter ● SalesChannelFilterInput input​

CustomerGroup.salesChannels ● SalesChannelConnection object​

CustomerGroup.salesChannels.first ● Int scalar​
CustomerGroup.salesChannels.after ● String scalar​
CustomerGroup.salesChannels.filter ● SalesChannelFilterInput input​

Interfaces​

Node interface​

Any entity that can be loaded by its global id through the node(id: ID!) query.

Returned By​

customerGroup query

Member Of​

Customer object ● CustomerGroupEdge object ● SalesChannel object