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

product-variant-prices-updated

A product-variant-price-updated event is triggered when:

  • Active Product Variant Price is created/updated/deleted
  • Future Merchant Variant Price is created/updated/deleted

Any changes to campaign prices won't trigger this event. The ID of the created/updated product variant is added to a debouncer set, the processor will take the ID out of the debouncer only after a configured timeout which is by default 60 sec, and then a product-variant-prices-updated webhook is triggered.

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
    • prices array
      • key string
      • price integer
      • oldPrice integer (optional)
      • recommendedRetailPrice integer (optional)
      • buyingPrice object (optional)
      • tax integer
      • countryCode string
      • currencyCode string
      • groupKey string (optional)
      • promotionKey string (optional)
      • validFrom datetime (optional)
      • validTo dateTime (optional)
    • createdAt datetime
    • merchantReferenceKey string
  • type enum (product-variant-prices-updated)