JavaScript
Properties
When to Fire
- When seats are removed
- When user is deactivated
- When Stripe subscription quantity decreases
Stripe Webhook
Maps tocustomer.subscription.updated when subscription quantity decreases.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when seats are removed from the plan.
window._upstack('track', 'seat_removed', {
accountId: 'acct_abc123',
subscriptionId: 'sub_def456',
seatCount: 10,
seatDelta: -5,
mrrDelta: -2500
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| seatCount | number | Yes | Total seats after removal |
| subscriptionId | string | No | Subscription identifier |
| seatDelta | number | No | Number of seats removed (negative) |
| mrrDelta | number | No | MRR decrease in cents (negative) |
customer.subscription.updated when subscription quantity decreases.Was this page helpful?