All Release Notes
Added Messages for changes on Custom Fields and Types on Orders
1 August 2023
Enhancement
OrdersMessages/SubscriptionsGraphQL
You can now subscribe to Messages that will be triggered when using Set CustomField and Set Custom Type actions on Orders.
Changes:
- [API] Added OrderCustomFieldAdded Message.
- [API] Added OrderCustomFieldChanged Message.
- [API] Added OrderCustomFieldRemoved Message.
- [API] Added OrderCustomTypeSet Message.
- [API] Added OrderCustomTypeRemoved Message.
- [GraphQL API] Added the following types to the GraphQL schema:
OrderCustomFieldAdded
,OrderCustomFieldChanged
,OrderCustomFieldRemoved
,OrderCustomTypeRemoved
,OrderCustomTypeSet
.
The following changes were introduced in terms of GraphQL SDL:
type OrderCustomFieldAdded implements MessagePayload & OrderMessagePayload {name: String!value: Json!type: String!}type OrderCustomFieldChanged implements MessagePayload & OrderMessagePayload {name: String!value: Json!previousValue: Jsontype: String!}type OrderCustomFieldRemoved implements MessagePayload & OrderMessagePayload {name: String!type: String!}type OrderCustomTypeRemoved implements MessagePayload & OrderMessagePayload {previousTypeId: Stringtype: String!}type OrderCustomTypeSet implements MessagePayload & OrderMessagePayload {customFields: CustomFieldsType!previousTypeId: Stringtype: String!}