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