Skip to main content
Version: 3.x

ProductVariantCreated

Event sent when new product variant is created.

Added in Saleor 3.2
type ProductVariantCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant(channel: String): ProductVariant
}

Fields

ProductVariantCreated.issuedAt ● DateTime scalar

Time of the event.

ProductVariantCreated.version ● String scalar

Saleor version that triggered the event.

ProductVariantCreated.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

ProductVariantCreated.recipient ● App object

The application receiving the webhook.

ProductVariantCreated.productVariant ● ProductVariant object

The product variant the event relates to.

ProductVariantCreated.productVariant.channel ● String scalar

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

Interfaces

Event interface


Was this page helpful?