OneBasket

List entitlements

GET
/entitlements/entitlements

Returns the entitlements that the customer in the bearer token holds now. Entitlements that have expired or have been revoked are not returned.

An organisation defines its own entitlements, so the values of entitlementId differ between stores. Ask your Stadion technical contact for the entitlement ids of your store.

An entitlement can take a short time to appear after a purchase, because the order is processed asynchronously.

Authorization

BearerAuth ApiKeyAuth
AuthorizationBearer <token>

In: header

x-api-key<token>

In: header

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/entitlements/entitlements"
[  {    "id": "string",    "entitlementId": "string",    "groupingId": "string",    "expired": true,    "type": "boolean",    "value": true  }]