ProductVariantStockUpdated
Event sent when product variant stock is updated.
Added in Saleor 3.11This 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
Time of the event.
ProductVariantStockUpdated.version ● String scalar
Saleor version that triggered the event.
ProductVariantStockUpdated.issuingPrincipal ● IssuingPrincipal union
The user or application that triggered the event.
ProductVariantStockUpdated.recipient ● App object
The application receiving the webhook.
ProductVariantStockUpdated.productVariant ● ProductVariant object
The product variant the event relates to.
ProductVariantStockUpdated.productVariant.channel●StringscalarSlug of a channel for which the data should be returned.
ProductVariantStockUpdated.warehouse ● Warehouse object
Look up a warehouse.
Interfaces
Event interface
Was this page helpful?