18 December 2024
Composable Commerce
HTTP API
Enhancement
Messages/SubscriptionsGraphQL

You can now subscribe to Messages that are triggered when adding or removing a Line Item from a Shopping List.

Changes:

The following changes were introduced in terms of GraphQL SDL:

type ShoppingListLineItemAdded implements MessagePayload {
  lineItem: ShoppingListLineItem!
  type: String!
}

type ShoppingListLineItemRemoved implements MessagePayload {
  lineItem: ShoppingListLineItem!
  type: String!
}