All Release Notes

Added Messages for changes on Custom Fields and Types on Customers and Customer Addresses

1 September 2023
Composable Commerce
HTTP API
Enhancement
CustomersMessages/SubscriptionsGraphQL

You can now subscribe to Messages that will be triggered when using Set CustomField, Set Custom Type, Set CustomField in Address, and Set Custom Type in Address actions on Customers.

Changes:

The following changes were introduced in terms of GraphQL SDL:

type CustomerAddressCustomFieldAdded implements MessagePayload {
name: String!
value: Json!
type: String!
}
type CustomerAddressCustomFieldChanged implements MessagePayload {
name: String!
value: Json!
previousValue: Json
type: String!
}
type CustomerAddressCustomFieldRemoved implements MessagePayload {
name: String!
type: String!
}
type CustomerAddressCustomTypeRemoved implements MessagePayload {
previousTypeId: String
type: String!
}
type CustomerAddressCustomTypeSet implements MessagePayload {
customFields: CustomFieldsType!
previousTypeId: String
type: String!
}
type CustomerCustomFieldAdded implements MessagePayload {
name: String!
value: Json!
type: String!
}
type CustomerCustomFieldChanged implements MessagePayload {
name: String!
value: Json!
previousValue: Json
type: String!
}
type CustomerCustomFieldRemoved implements MessagePayload {
name: String!
type: String!
}
type CustomerCustomTypeRemoved implements MessagePayload {
previousTypeId: String
type: String!
}
type CustomerCustomTypeSet implements MessagePayload {
customFields: CustomFieldsType!
previousTypeId: String
type: String!
}