ProductVariantStockUpdated Object
Event sent when product variant stock is updated.
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.