Skip to main content
Version: 3.x

ProductMediaCreated

Event sent when new product media is created.

Added in Saleor 3.12
type ProductMediaCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productMedia: ProductMedia
}

Fields

ProductMediaCreated.issuedAt ● DateTime scalar

Time of the event.

ProductMediaCreated.version ● String scalar

Saleor version that triggered the event.

ProductMediaCreated.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

ProductMediaCreated.recipient ● App object

The application receiving the webhook.

ProductMediaCreated.productMedia ● ProductMedia object

The product media the event relates to.

Interfaces

Event interface


Was this page helpful?