All Release Notes
Added CustomerFirstNameSet, CustomerLastNameSet, and CustomerTitleSet Messages
12 November 2021
Composable Commerce
HTTP API
Enhancement
Messages/SubscriptionsCustomersGraphQL
With the addition of three new Messages you can now use the MessageSubscription to subscribe to changes on the firstName
, lastName
, and title
fields on Customers specifically. Before, you had to use the generic ChangeSubscription for that.
These Messages are triggered by Set First Name, Set Last Name, and Set Title update actions.
Changes:
- [API] Added CustomerFirstNameSet Message.
- [API] Added CustomerLastNameSet Message.
- [API] Added CustomerTitleSet Message.
- [GraphQL API] Added the following types to the GraphQL schema:
CustomerFirstNameSet
,CustomerLastNameSet
,CustomerTitleSet
.
The following changes were introduced in terms of GraphQL SDL:
type CustomerFirstNameSet implements MessagePayload {firstName: Stringtype: String!}type CustomerLastNameSet implements MessagePayload {lastName: Stringtype: String!}type CustomerTitleSet implements MessagePayload {title: Stringtype: String!}