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
Time of the event.
ProductCreated.version ● String scalar
Saleor version that triggered the event.
ProductCreated.issuingPrincipal ● IssuingPrincipal union
The user or application that triggered the event.
ProductCreated.recipient ● App object
The application receiving the webhook.
ProductCreated.product ● Product object
The product the event relates to.
ProductCreated.product.channel●StringscalarSlug of a channel for which the data should be returned.
ProductCreated.category ● Category object
The category of the product.
Interfaces
Event interface
Was this page helpful?