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:
- [API] Added Customer Custom Field Added Message.
- [API] Added Customer Custom Field Changed Message.
- [API] Added Customer Custom Field Removed Message.
- [API] Added Customer Custom Type Set Message.
- [API] Added Customer Custom Type Removed Message.
- [API] Added Customer Address Custom Field Added Message.
- [API] Added Customer Address Custom Field Changed Message.
- [API] Added Customer Address Custom Field Removed Message.
- [API] Added Customer Address Custom Type Set Message.
- [API] Added Customer Address Custom Type Removed Message.
- [GraphQL API] Added the following types to the GraphQL schema:
CustomerCustomFieldAdded
,CustomerCustomFieldChanged
,CustomerCustomFieldRemoved
,CustomerCustomTypeSet
,CustomerCustomTypeRemoved
,CustomerAddressCustomFieldAdded
,CustomerAddressCustomFieldChanged
,CustomerAddressCustomFieldRemoved
,CustomerAddressCustomTypeSet
,CustomerAddressCustomTypeRemoved
.
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: Jsontype: String!}type CustomerAddressCustomFieldRemoved implements MessagePayload {name: String!type: String!}type CustomerAddressCustomTypeRemoved implements MessagePayload {previousTypeId: Stringtype: String!}type CustomerAddressCustomTypeSet implements MessagePayload {customFields: CustomFieldsType!previousTypeId: Stringtype: String!}type CustomerCustomFieldAdded implements MessagePayload {name: String!value: Json!type: String!}type CustomerCustomFieldChanged implements MessagePayload {name: String!value: Json!previousValue: Jsontype: String!}type CustomerCustomFieldRemoved implements MessagePayload {name: String!type: String!}type CustomerCustomTypeRemoved implements MessagePayload {previousTypeId: Stringtype: String!}type CustomerCustomTypeSet implements MessagePayload {customFields: CustomFieldsType!previousTypeId: Stringtype: String!}