docs
  1. Events
  2. Product Events
  3. Product-variant-stock-updated

product-variant-stock-updated

A product-variant-stock-updated event is triggered when the stock of a product variant changes.

Filters applicable for Webhook.

Filter TypeField used in payload for filter
Merchant includes/excludesmerchantReferenceKey

Example:

Properties:

  • key string
  • occurredAt datetime
  • meta object
    • tenantKey string
  • version integer
  • payload object
    • productVariant object
      • id integer
      • referenceKey string
    • product object
      • id integer
      • referenceKey string
    • warehouse object
      • id integer
      • referenceKey string
    • quantity integer
    • sellableWithoutStock boolean
    • createdAt datetime
    • merchantReferenceKey string
    • expectedAvailabilityAt datetime (optional)
  • type enum (product-variant-stock-updated )