All Release Notes
Added Messages for Standalone Prices
8 June 2022
Composable Commerce
HTTP API
Enhancement
Pricing and DiscountsMessages/SubscriptionsGraphQL
You can now subscribe to Messages specific to Standalone Prices to get informed about their creation, deletion, or updates on them.
Changes:
- [API] Added StandalonePriceCreated Message, StandalonePriceDeleted Message, StandalonePriceValueChanged Message, and StandalonePriceDiscountSet Message.
- [GraphQL API] Added the following types to the GraphQL schema:
StandalonePriceCreated
,StandalonePriceDeleted
,StandalonePriceDiscountSet
,StandalonePriceValueChanged
.
The following changes were introduced in terms of GraphQL SDL:
type StandalonePriceCreated implements MessagePayload {standalonePrice: StandalonePrice!type: String!}type StandalonePriceDeleted implements MessagePayload {type: String!}type StandalonePriceDiscountSet implements MessagePayload {discounted: DiscountedProductPriceValuetype: String!}type StandalonePriceValueChanged implements MessagePayload {value: BaseMoney!type: String!}