get https://mediastoreapi-sandbox.cleeng.com/entitlements/
This API allows you to check entitlements (access rights) of a customer to a given offer. Access is granted based on a purchased offer or tags (that are checked in the backend). Here you can check the benefits of tagging offers.
If there are two or more subscriptions / passes for the same offerId for the same customer, it will return one object with the latest expiresAt date.
NoteGranting entitlements is based on the
accessGrantedvalue, not theexpiresAtdate. Even if theexpiresAtdate is in the past,accessGrantedmay betrue. This may occur for example during a Grace period, where access is allowed to continue for a set time after the expiration date.
Errors
| HTTP Status code | Error code | Message |
|---|---|---|
| 401 | AUTH0001 | Missing required JWT |
| 401 | AUTH0002 | Invalid JWT token |
| 500 | SXXXX (X - number) | Internal Server Error |
