v1

latestOpenAPI 3.0.32026-07-1336286494.8 KB
api

get/api/feature_access/

Query parameters

customer_idstring nullable required

The customer_id of the customer you want to check access.

feature_idstring uuid required

The feature_id of the feature you want to check access for.

valuestring required
property_namestring required

The string name of the property to filter on. Example: 'product_id'

The subscription filters that are applied to this plan's relationship with the customer. If your billing model does not have the ability multiple plans or subscriptions per customer, this is likely not relevant for you.

Response

accessboolean required

Whether or not the customer has access to this feature. The default behavior for this is whether any of the customer's plans have access to this feature. If you have specified subscription filters, then this will be whether any of the customer's plans that match the subscription filters have access to this feature. You can customize the behavior of this flag by setting a policy in your Organization settings in the frontend.