All Release Notes
Added 'addressId' field to Messages related to changes on Custom Fields of Addresses
10 July 2024
Composable Commerce
HTTP API
Enhancement
B2BCustomersMessages/SubscriptionsGraphQL
You can now identify the address that was updated in Messages about changes to Custom Fields on Addresses. Previously, the Message did not identify which address was updated.
Changes:
- [API] Added an optional field,
addressId
, to the following Messages:- for Customers: CustomerAddressCustomTypeSet, CustomerAddressCustomTypeRemoved, CustomerAddressCustomFieldAdded, CustomerAddressCustomFieldChanged, CustomerAddressCustomFieldRemoved, BusinessUnitAddressCustomTypeSet
- for Business Units: BusinessUnitAddressCustomTypeRemoved, BusinessUnitAddressCustomFieldAdded, BusinessUnitAddressCustomFieldChanged, BusinessUnitAddressCustomFieldRemoved
- [GraphQL API] Added the
addressId
field to the following types:CustomerAddressCustomTypeSet
,CustomerAddressCustomTypeRemoved
,CustomerAddressCustomFieldAdded
,CustomerAddressCustomFieldChanged
,CustomerAddressCustomFieldRemoved
,BusinessUnitAddressCustomTypeSet
,BusinessUnitAddressCustomTypeRemoved
,BusinessUnitAddressCustomFieldAdded
,BusinessUnitAddressCustomFieldChanged
,BusinessUnitAddressCustomFieldRemoved
.
The following changes were introduced in terms of GraphQL SDL:
extend type CustomerAddressCustomTypeSet {addressId: String}extend type CustomerAddressCustomTypeRemoved {addressId: String}extend type CustomerAddressCustomFieldAdded {addressId: String}extend type CustomerAddressCustomFieldChanged {addressId: String}extend type CustomerAddressCustomFieldRemoved {addressId: String}extend type BusinessUnitAddressCustomTypeSet {addressId: String}extend type BusinessUnitAddressCustomTypeRemoved {addressId: String}extend type BusinessUnitAddressCustomFieldAdded {addressId: String}extend type BusinessUnitAddressCustomFieldChanged {addressId: String}extend type BusinessUnitAddressCustomFieldRemoved {addressId: String}