8 September 2023
B2BCustomersMessages/SubscriptionsGraphQL
You can now subscribe to Messages for Set CustomField, Set Custom Type, Set Address CustomField, and Set Custom Type in Address update actions on Business Units.
Changes:
- [API] Added BusinessUnitCustomFieldAdded Message.
 - [API] Added BusinessUnitCustomFieldChanged Message.
 - [API] Added BusinessUnitCustomFieldRemoved Message.
 - [API] Added BusinessUnitCustomTypeSet Message.
 - [API] Added BusinessUnitCustomTypeRemoved Message.
 - [API] Added BusinessUnitAddressCustomFieldAdded Message.
 - [API] Added BusinessUnitAddressCustomFieldChanged Message.
 - [API] Added BusinessUnitAddressCustomFieldRemoved Message.
 - [API] Added BusinessUnitAddressCustomTypeSet Message.
 - [API] Added BusinessUnitAddressCustomTypeRemoved Message.
 - [GraphQL API] Added the following types to the GraphQL schema: 
BusinessUnitAddressCustomFieldAdded,BusinessUnitAddressCustomFieldChanged,BusinessUnitAddressCustomFieldRemoved,BusinessUnitAddressCustomTypeRemoved,BusinessUnitAddressCustomTypeSet,BusinessUnitCustomFieldAdded,BusinessUnitCustomFieldChanged,BusinessUnitCustomFieldRemoved,BusinessUnitCustomTypeRemoved,BusinessUnitCustomTypeSet. 
The following changes were introduced in terms of GraphQL SDL:
type BusinessUnitAddressCustomFieldAdded implements MessagePayload {
  name: String!
  value: Json!
  type: String!
}
type BusinessUnitAddressCustomFieldChanged implements MessagePayload {
  name: String!
  value: Json!
  previousValue: Json
  type: String!
}
type BusinessUnitAddressCustomFieldRemoved implements MessagePayload {
  name: String!
  type: String!
}
type BusinessUnitAddressCustomTypeRemoved implements MessagePayload {
  previousTypeId: String
  type: String!
}
type BusinessUnitAddressCustomTypeSet implements MessagePayload {
  customFields: CustomFieldsType!
  previousTypeId: String
  type: String!
}
type BusinessUnitCustomFieldAdded implements MessagePayload {
  name: String!
  value: Json!
  type: String!
}
type BusinessUnitCustomFieldChanged implements MessagePayload {
  name: String!
  value: Json!
  previousValue: Json
  type: String!
}
type BusinessUnitCustomFieldRemoved implements MessagePayload {
  name: String!
  type: String!
}
type BusinessUnitCustomTypeRemoved implements MessagePayload {
  previousTypeId: String
  type: String!
}
type BusinessUnitCustomTypeSet implements MessagePayload {
  customFields: CustomFieldsType!
  previousTypeId: String
  type: String!
}