cURL
curl --request GET \ --url https://api.unprice.dev/v1/customer/{customerId}/getEntitlements \ --header 'Authorization: Bearer <token>'
{ "entitlements": [ { "featureSlug": "<string>", "validFrom": 123, "validTo": 123, "featureType": "flat", "usage": "<string>", "limit": 123, "featurePlanVersionId": "<string>", "aggregationMethod": "sum", "units": 123, "id": "<string>" } ] }
Get entitlements for a customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The customer ID
"cus_1H7KQFLr7RepUyQBKdnvY"
The result of the delete customer
The response is of type object.
object