Skip to main content

Documentation Index

Fetch the complete documentation index at: https://polar.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Sent when a customer state has changed.

It's triggered when:

  • Customer is created, updated or deleted.
  • A subscription is created or updated.
  • A benefit is granted or revoked.

Discord & Slack support: Basic

type
string
required
Allowed value: "customer.state_changed"
Example:

"customer.state_changed"

timestamp
string<date-time>
required
data
CustomerStateIndividual · object
required

A customer along with additional state information:

  • Active subscriptions
  • Granted benefits
  • Active meters