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 miscellaneous
Time of the event.
ProductVariantCreated.version
● String
scalar miscellaneous
Saleor version that triggered the event.
ProductVariantCreated.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
ProductVariantCreated.recipient
● App
object apps
The application receiving the webhook.
ProductVariantCreated.productVariant
● ProductVariant
object products
The product variant the event relates to.
ProductVariantCreated.productVariant.channel
●String
scalar miscellaneousSlug of a channel for which the data should be returned.