ProductVariantCreated
Event sent when new product variant is created.
Added in Saleor 3.2type 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
scalarSlug of a channel for which the data should be returned.