docs
  1. Webhooks
  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 string (date-time ISO 8601)
  • meta object
    • tenantKey string
  • type 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 string (date-time ISO 8601) (optional)
      • validTo string (date-time ISO 8601) (optional)
      • merchantReferenceKey string (optional)
      • unitPrice (optional)
        • unit string
        • amount integer
        • price integer
    • merchantReferenceKey string