Queries
customerGroup
Fetch a single customer group by its ID. Returns null if no group with the given ID exists in the workspace.
QUERY
customerGroup(customerGroupId: ID!): CustomerGroupArguments
customerGroupId
ID!
required
Returns
id
ID!
name
String!
key
String!
A unique, human-readable identifier for the group (e.g. 'enterprise') used when referencing the group in API calls and integrations.
color
String!
externalId
String
An optional identifier from your own system, used to reference this group when calling upsertCustomerGroup without knowing the Plain-assigned ID.
createdAt
createdBy
updatedAt
updatedBy
Query
Variables
Response
Query
Variables
Response

