ProductVariantBackInStock
Event sent when product variant is back in stock.
Added in Saleor 3.2type ProductVariantBackInStock implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant(channel: String): ProductVariant
warehouse: Warehouse
}
Fields
ProductVariantBackInStock.issuedAt
● DateTime
scalar
Time of the event.
ProductVariantBackInStock.version
● String
scalar
Saleor version that triggered the event.
ProductVariantBackInStock.issuingPrincipal
● IssuingPrincipal
union
The user or application that triggered the event.
ProductVariantBackInStock.recipient
● App
object
The application receiving the webhook.
ProductVariantBackInStock.productVariant
● ProductVariant
object
The product variant the event relates to.
ProductVariantBackInStock.productVariant.channel
●String
scalarSlug of a channel for which the data should be returned.
ProductVariantBackInStock.warehouse
● Warehouse
object
Look up a warehouse.