8 December 2021
Messages/SubscriptionsGraphQL
AWS EventBridge is now supported as a Subscription destination. Configuring EventBridge as a destination allows your serverless event bus to receive message from commercetools Composable Commerce and forward them to a variety of targets based on forwarding rules. Please find more information in our tutorial.
- [API] Added EventBridge destination.
- [GraphQL API] Added the following types to the GraphQL schema:
EventBridgeDestination,EventBridgeDestinationInput,SetCartLineItemSupplyChannel. - [GraphQL API] Changed the
SearchIndexingConfigurationtype:- Added the
categoriesDisabledForInternalTestfield to theSearchIndexingConfigurationtype.
- Added the
- [GraphQL API] Changed the
CartUpdateActiontype:- Input field
setLineItemSupplyChannelwas added toCartUpdateActiontype
- Input field
- [GraphQL API] Changed the
MyCartUpdateActiontype:- Input field
setLineItemSupplyChannelwas added toMyCartUpdateActiontype
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnInfotype:SetStagedOrderReturnInfo.itemsdefault value changed from none to[]
- [GraphQL API] Changed the
DestinationInputtype:- Input field
EventBridgewas added toDestinationInputtype
- Input field
- [GraphQL API] Changed the
ProductProjectiontype:- Removed the
keyfield from theProductProjectiontype.
- Removed the
- [GraphQL API] Changed the
SetOrderReturnInfotype:SetOrderReturnInfo.itemsdefault value changed from none to[]
The following changes were introduced in terms of GraphQL SDL:
extend type SearchIndexingConfiguration {
categoriesDisabledForInternalTest: Boolean
}
extend input CartUpdateAction {
setLineItemSupplyChannel: SetCartLineItemSupplyChannel
}
extend input MyCartUpdateAction {
setLineItemSupplyChannel: SetCartLineItemSupplyChannel
}
extend input DestinationInput {
EventBridge: EventBridgeDestinationInput
}
type EventBridgeDestination implements Destination {
source: String!
region: String!
accountId: String!
type: String!
}
input EventBridgeDestinationInput {
region: String!
accountId: String!
}
input SetCartLineItemSupplyChannel {
lineItemId: String!
supplyChannel: ResourceIdentifierInput
}