All Release Notes
Added Messages for changes on Custom Fields and Types on Business Units
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:
- [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: Jsontype: String!}type BusinessUnitAddressCustomFieldRemoved implements MessagePayload {name: String!type: String!}type BusinessUnitAddressCustomTypeRemoved implements MessagePayload {previousTypeId: Stringtype: String!}type BusinessUnitAddressCustomTypeSet implements MessagePayload {customFields: CustomFieldsType!previousTypeId: Stringtype: String!}type BusinessUnitCustomFieldAdded implements MessagePayload {name: String!value: Json!type: String!}type BusinessUnitCustomFieldChanged implements MessagePayload {name: String!value: Json!previousValue: Jsontype: String!}type BusinessUnitCustomFieldRemoved implements MessagePayload {name: String!type: String!}type BusinessUnitCustomTypeRemoved implements MessagePayload {previousTypeId: Stringtype: String!}type BusinessUnitCustomTypeSet implements MessagePayload {customFields: CustomFieldsType!previousTypeId: Stringtype: String!}