Skip to main content
Version: 3.x

ProductVariantUpdated

Event sent when product variant is updated.

Added in Saleor 3.2.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

type ProductVariantUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant(channel: String): ProductVariant
}

Fields

ProductVariantUpdated.issuedAt ● DateTime scalar

Time of the event.

ProductVariantUpdated.version ● String scalar

Saleor version that triggered the event.

ProductVariantUpdated.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

ProductVariantUpdated.recipient ● App object

The application receiving the webhook.

ProductVariantUpdated.productVariant ● ProductVariant object

The product variant the event relates to.

ProductVariantUpdated.productVariant.channel ● String scalar

Slug of a channel for which the data should be returned.

Interfaces

Event interface