The customer state object
The customer state object contains:- All the data about the customer.
- The list of their active subscriptions.
- The list of their granted benefits.
- The list of their active meters, with their current balance.
Get Customer State by External ID
One endpoint to rule them all, using your own customer ID.
Get Customer State
The same one, but with internal Polar customer ID.
The customer.state_changed
webhook
To be notified of the customer state changes, you can listen to the customer.state_changed
webhook event. It’s triggered when:
- Customer is created, updated or deleted.
- A subscription is created or updated.
- A benefit is granted or revoked.
customer.state_changed
One webhook to rule them all.