8 June 2022
Enhancement
PricingMessages/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: DiscountedProductPriceValue
type: String!
}
type StandalonePriceValueChanged implements MessagePayload {
value: BaseMoney!
type: String!
}