Get subscription features
As an alternate to using the tenant provisioning webhooks you can query for the features that should be enabled on a tenant.
Last updated
Was this helpful?
As an alternate to using the tenant provisioning webhooks you can query for the features that should be enabled on a tenant.
Last updated
Was this helpful?
To get the active subscriptions with usage quantities and features that a tenant is entitled to use you can query the .
To query the tenant object use the unique code that you assigned for the tenant. The code will typically be the unique identifier for that tenant in your SaaS application.
Variables
The response will include a lastProvisioningChange section that shows exactly what features and quantities the tenant is entitled to.
It is possible in Bunny for a tenant to subscribe to multiple different products, therefore having multiple subscriptions.
In most cases a tenant will only have a single subscription but as best practice we recommend using the `latestProvisioningChange.change.features` section of the response payload to get all of the features and quantities combined across all subscriptions for the tenant.