8 September 2023
Composable Commerce
HTTP API
Enhancement
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:

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!
}