Skip to main content

ProductVariantStockUpdated

Event sent when product variant stock is updated.

Added in Saleor 3.11
This API is currently in Feature Preview and can be subject to changes at later point.
type ProductVariantStockUpdated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant(channel: String): ProductVariant
warehouse: Warehouse
}

Fields

ProductVariantStockUpdated.issuedAt ● DateTime scalar miscellaneous

Time of the event.

ProductVariantStockUpdated.version ● String scalar miscellaneous

Saleor version that triggered the event.

ProductVariantStockUpdated.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

ProductVariantStockUpdated.recipient ● App object apps

The application receiving the webhook.

ProductVariantStockUpdated.productVariant ● ProductVariant object products

The product variant the event relates to.

ProductVariantStockUpdated.productVariant.channel ● String scalar miscellaneous

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

ProductVariantStockUpdated.warehouse ● Warehouse object products

Look up a warehouse.

Interfaces

Event interface miscellaneous