All Release Notes
Added Messages for changes on Custom Fields and Types on Order Deliveries
9 August 2024
Composable Commerce
HTTP API
Enhancement
Messages/SubscriptionsOrdersGraphQL
You can now subscribe to Messages for changes to Custom Fields and Types on Order Deliveries.
Changes:
- [API] Added the following Messages: DeliveryCustomFieldAdded, DeliveryCustomFieldChanged, DeliveryCustomFieldRemoved, DeliveryCustomTypeSet, and DeliveryCustomTypeRemoved.
- [GraphQL API] Added the following types to the GraphQL schema:
DeliveryCustomFieldAdded
,DeliveryCustomFieldChanged
,DeliveryCustomFieldRemoved
,DeliveryCustomTypeSet
, andDeliveryCustomTypeRemoved
.
The following changes were introduced in terms of GraphQL SDL:
type DeliveryCustomFieldAdded implements OrderMessagePayload {deliveryId: String!name: String!value: Json!type: String!}type DeliveryCustomFieldChanged implements OrderMessagePayload {deliveryId: String!name: String!value: Json!type: String!previousValue: Json}type DeliveryCustomFieldRemoved implements OrderMessagePayload {deliveryId: String!name: String!type: String!}type DeliveryCustomTypeSet implements OrderMessagePayload {deliveryId: String!customFields: CustomFieldsType!previousTypeId: Stringtype: String!}type DeliveryCustomTypeRemoved implements OrderMessagePayload {deliveryId: String!previousTypeId: Stringtype: String!}