18 September 2023
CustomersMessages/SubscriptionsGraphQL
You can now subscribe to Messages for changes to Custom Fields and Types on Customer Groups.
Changes:
- [API] Added CustomerGroupCustomFieldAdded Message.
 - [API] Added CustomerGroupCustomFieldChanged Message.
 - [API] Added CustomerGroupCustomFieldRemoved Message.
 - [API] Added CustomerGroupCustomTypeSet Message.
 - [API] Added CustomerGroupCustomTypeRemoved Message.
 - [GraphQL API] Added the following types to the GraphQL schema: 
CustomerGroupCustomFieldAdded,CustomerGroupCustomFieldChanged,CustomerGroupCustomFieldRemoved,CustomerGroupCustomTypeRemoved,CustomerGroupCustomTypeSet. 
The following changes were introduced in terms of GraphQL SDL:
type CustomerGroupCustomFieldAdded implements MessagePayload {
  name: String!
  value: Json!
  type: String!
}
type CustomerGroupCustomFieldChanged implements MessagePayload {
  name: String!
  value: Json!
  oldValue: Json
  type: String!
}
type CustomerGroupCustomFieldRemoved implements MessagePayload {
  name: String!
  type: String!
}
type CustomerGroupCustomTypeRemoved implements MessagePayload {
  oldTypeId: String
  type: String!
}
type CustomerGroupCustomTypeSet implements MessagePayload {
  customFields: CustomFieldsType!
  oldTypeId: String
  type: String!
}