Skip to main content
Version: 3.x

ProductVariantOutOfStock

Event sent when product variant is out of stock.

Added in Saleor 3.2
type ProductVariantOutOfStock implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant(channel: String): ProductVariant
warehouse: Warehouse
}

Fields

ProductVariantOutOfStock.issuedAt ● DateTime scalar

Time of the event.

ProductVariantOutOfStock.version ● String scalar

Saleor version that triggered the event.

ProductVariantOutOfStock.issuingPrincipal ● IssuingPrincipal union

The user or application that triggered the event.

ProductVariantOutOfStock.recipient ● App object

The application receiving the webhook.

ProductVariantOutOfStock.productVariant ● ProductVariant object

The product variant the event relates to.

ProductVariantOutOfStock.productVariant.channel ● String scalar

Slug of a channel for which the data should be returned.

ProductVariantOutOfStock.warehouse ● Warehouse object

Look up a warehouse.

Interfaces

Event interface


Was this page helpful?