Entitlements
List what a customer can use
GET
/entitlementsOne list whichever engine, seller or store each entitlement came from. You define features and map them to products in the Commerce tab.
Headers
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Query parameters
customer_reference_idstringRequiredYour ID for the customer.
typestringkeystringlimitintegerObjects per page. Defaults to 10.
starting_afterstringA cursor. Returns objects created after the object with this ID. Mutually exclusive with ending_before.
Returns
A page of entitlements.
resourcestringdataarray of objectsShow 11 child attributesHide child attributes
idstringresourcestringtypestringkeystringThe feature's key from the Commerce tab, or the store's product ID for a store purchase.
statusstringquantityinteger or nullFor seats.
balanceinteger or nullFor balance, what's left of the allowance.
expires_atstring or nullcustomer_reference_idstringsourceobjectShow 5 child attributesHide child attributes
typestringsubscriptionstring or nullorderstring or nullstorestring or nullenginestring or nulltest_modebooleanhas_morebooleanErrors
400The request is invalid.
401The API key is missing or wrong.
403The key's permissions don't allow this route.
Was this page helpful?