Skip to main content

When this fires

When an active add-on is deactivated — via DELETE /subscriptions/{id}/addons/{addonId} or the customer portal. The add-on stops billing at the next renewal. customer.state_changed fires alongside it with trigger addon_deactivated. Use it to revoke the add-on’s feature in your app.

Body

application/json
id
string
required
event
string
required
Allowed value: "addon.deactivated"
timestamp
string
required
organizationId
string
required
mode
enum<string>
required
Available options:
live,
sandbox
apiVersion
string
required
data
object
required

Response

200

Return any 2xx status code to acknowledge receipt of the event.