Get entitlements
You can use this endpoint to check entitlements to a specific offer. <br><br> If there are two or more subscriptions / passes for the same offerId and the same customerId, it will return one object with the latest expiresAt date.
get/entitlements/customer_id/{customerId}/offer_id/{offerId}
Request
- Base URLhttps://api.sandbox.cleeng.com/3.1
- URLhttps://api.sandbox.cleeng.com/3.1/entitlements/customer_id/{customerId}/offer_id/{offerId}
- AuthAPI key in header X-Publisher-Token
Path parameters
customerIdinteger required
Customer identifier at Cleeng.
offerIdstring required
Cleeng offer ID.
Response
200
Example response
{
"accessGranted": true,
"grantType": "direct-purchase",
"expiresAt": 1651915800,
"message": "Success",
"customerId": 123456789
}Changes
No recorded changes to this operation across all 1 revision of this API.