ProductCreated
Event sent when new product is created.
Added in Saleor 3.2type ProductCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
product(channel: String): Product
category: Category
}
Fields
ProductCreated.issuedAt
● DateTime
scalar miscellaneous
Time of the event.
ProductCreated.version
● String
scalar miscellaneous
Saleor version that triggered the event.
ProductCreated.issuingPrincipal
● IssuingPrincipal
union miscellaneous
The user or application that triggered the event.
ProductCreated.recipient
● App
object apps
The application receiving the webhook.
ProductCreated.product
● Product
object products
The product the event relates to.
ProductCreated.product.channel
●String
scalar miscellaneousSlug of a channel for which the data should be returned.
ProductCreated.category
● Category
object products
The category of the product.