Check Entitlement
Check if a customer is allowed to use a feature
If the customer_id
you send doesn’t already exist, Autumn will automatically
create a new customer. You can optionally set the properties of this new customer
through the customer_data
field.
Authorizations
You can use your Secret or Publishable key for this endpoint. To include usage events however, you must use your Secret key.
Body
ID which you provided when creating the customer
ID of the feature to check access to
If you know the quantity of the feature the end user is consuming in advance
Record a usage event together with checking access, in the same request. For dedicated usage tracking (recommended), see /events.
Properties to create a new customer. If a customer with the provided customer_id
already exists, this object is ignored. Alternatively, use the /customers endpoint.