docs
  1. Webhooks
  2. Product Events
  3. Product-variant-deleted

product-variant-deleted

A product-variant-deleted event is triggered whenever a product variant gets deleted.

When a shop product is deleted, only product-deleted.md event 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)
  • version integer
  • meta object
    • tenantKey string
  • type enum (product-variant-deleted)
  • payload object
    • id integer
    • ean string
    • referenceKey string
    • merchantReferenceKey array
    • isComposite boolean
    • attributes array<object> (optional)
      • name string
      • type string
      • value array
      • isLocked boolean
      • shopCountrySpecific array<object>
        • value object
        • isLocked boolean
        • shopKey string
        • countryCode string
      • relatedVariants array<object> (optional)
        • variantReferenceKey string
        • isMainVariant boolean
    • customData object (optional)