productVariantDiscountedPriceUpdated Subscription
Event sent when product variant discounted price is recalculated.
Added in Saleor 3.22This API is currently in Feature Preview and can be subject to changes at later point.
productVariantDiscountedPriceUpdated(
channels: [String!]
): ProductVariantDiscountedPriceUpdated
Details
type ProductVariantDiscountedPriceUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant: ProductVariant!
channel: Channel!
previousPrice: Money!
newPrice: Money!
}
Arguments
channels ● [String!]
List of channel slugs. The event will be sent only if the object belongs to one of the provided channels. If the channel slug list is empty, objects that belong to any channel will be sent. Maximally 500 items.
Type
ProductVariantDiscountedPriceUpdated
Event sent when product variant discounted price is recalculated.
Added in Saleor 3.22