Skip to main content
Version: 3.x

ProductVariantOutOfStock

Event sent when product variant is out of stock.

Added in Saleor 3.2.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

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

Fields

issuedAt (DateTime)

Time of the event.

version (String)

Saleor version that triggered the event.

issuingPrincipal (IssuingPrincipal)

The user or application that triggered the event.

recipient (App)

The application receiving the webhook.

productVariant (ProductVariant)

The product variant the event relates to.

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

warehouse (Warehouse)

Look up a warehouse.

Interfaces

Event