GET
/
v1
/
customer
/
{customerId}
/
getEntitlements
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

The customer ID

Example:

"cus_1H7KQFLr7RepUyQBKdnvY"

Response

200
application/json

The result of the delete customer

The response is of type object.