get https://api.sandbox.cleeng.com/3.1/entitlements/customer_id//offer_id/
You can use this endpoint to check entitlements to a specific offer.
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.
Note
Granting entitlements is based on the
accessGranted
value, not theexpiresAt
date. Even if theexpiresAt
date is in the past,accessGranted
may betrue
. This may occur for example during a Grace period, where access is allowed to continue for a set time after the expiration date.