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