Skip to main content

ProductVariantDiscountedPriceUpdated Object

Event sent when product variant discounted price is recalculated.

Added in Saleor 3.22
type ProductVariantDiscountedPriceUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant: ProductVariant!
channel: Channel!
previousPrice: Money!
newPrice: Money!
}

Fields

issuedAt ● DateTime

Time of the event.

version ● String

Saleor version that triggered the event.

issuingPrincipal ● IssuingPrincipal

The user or application that triggered the event.

recipient ● App

The application receiving the webhook.

productVariant ● ProductVariant!

The product variant the event relates to.

channel ● Channel!

The channel where the price changed.

previousPrice ● Money!

The previous discounted price.

newPrice ● Money!

The new discounted price.

Interfaces

Event

Returned By

productVariantDiscountedPriceUpdated subscription