Skip to main content
Event triggered when a discount code is deleted.
This event is also sent when a discount code is removed automatically — for example when a partner is banned or deactivated, a linked referral link is deleted, or a partner is moved to a group without an equivalent discount.If the discount uses the custom provider, listen to this webhook to disable the corresponding promo code in your own system. For Stripe and Shopify discounts, Dub disables the code in the connected provider automatically.