Retrieve entitlement override
Secret and trusted tokens with the resource read permission may retrieve metadata in their account and mode. Limited tokens are forbidden. Removed or expired overrides remain retrievable. Usage-key metadata never includes the secret or hash.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
customer_id*stringoverride_id*stringshow?stringComma-separated fields to return; all others are left out. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
hide?stringComma-separated fields to leave out of the response. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.
expand?stringComma-separated child objects to return in full instead of as a URL, for example customer,payments. Use dot notation for nested objects (items.product), up to four levels deep. A single object takes up to 12 paths; a list takes up to 2, applied to every item. Extra paths are dropped without an error. See Expanding objects.
Public metadata.
application/json- response
One feature given to one customer in place of what their plans give, until it expires or you remove it. value: false takes the feature away. Removed and expired overrides are kept, for audit. Default public fields are shown here. show and hide can omit default fields, except the root url. Stored recovery state is never public.
object?stringAlways entitlement_override.
override_id?stringeo_ plus 32 characters.
customer_id?stringThe Comecero customer id.
feature_key?stringThe feature's key.
value?|boolean features, true. number features, the value as a decimal string. Any type, false takes the feature away. Left out when limit or unlimited is set.
limit?stringMetered features. The limit in each reset window, as a decimal string. Left out when not set.
unlimited?booleannumber and metered features. No limit. Left out when not set.
expires_at?|When it stops and the plan's value is back. Null means it stays until you remove it.
date-timereason?stringWhy the customer has it.
created_by?stringThe user behind the token that made it, or the token.
date_created?stringWhen it was made.
date-timestatus?stringOnly an active override applies.
"active""removed""expired"date_removed?stringWhen it was removed. Left out unless removed.
date-timeremoved_by?stringWho removed it. Left out unless removed.
test?booleanTest or live.
account_id?stringurl*stringuricurl -X GET 'https://api.comecero.com/api/v1/customers/string/entitlement_overrides/string'{ "object": "entitlement_override", "override_id": "eo_9b2e6c1d4a7f4e3b8c5d0a1f2e3d4c5b", "customer_id": "0091304300408CuoxY9Pf3", "feature_key": "api_calls", "limit": "50000", "expires_at": "2026-12-31T23:59:59Z", "reason": "Launch promotion agreed by sales", "created_by": "US0012345678", "date_created": "2026-11-15T10:00:00Z", "status": "active", "test": true, "url": "https://api.comecero.com/api/v1/customers/eo_9b2e6c1d4a7f4e3b8c5d0a1f2e3d4c5b"}Get a customer's entitlements GET
What one customer can do now: every feature in the catalog, or one with `feature`, with its usage, what the customer's purchases give, the active override and which purchase decided. Your app should check access with the usage meter's `GET /v1/entitlements` and a usage key, which is faster and has no Comecero API token; this route is for your back office and support tools. When usage can't be read in time, the rows come without usage and `usage_unavailable` true. Soft limits and unlimited grants keep access; finite hard limits deny with `usage_not_read`. Secret and trusted tokens may call it; a limited token may not (`403`).
Check feature access GET
Checks a customer's feature access from your server. Send a usage key, not a Comecero API token. The key selects the shop and live or test mode. Answers use synced records and usage totals, seconds behind events. Cache successful answers until valid_until or for 60 seconds, whichever comes first, and invalidate them on entitlement:changed. Your app enforces has_access; valid usage events are still accepted at a hard limit. An all-feature check reads at most 32 usages, hard limits first. Ask for one feature alone to read all of its usage. A finite hard limit denies with usage_not_read whenever its usage cannot be read. Soft limits and unlimited grants keep access. This route sends no CORS headers. See [Check API](/docs/entitlements/check-api). Public Lambda HTTP errors use error.code, error.message and error.meta. API Gateway v2 HTTP API managed failures may instead return {message} without Retry-After, including authentication, throttling and integration failures. Use status-based bounded jittered backoff when a retryable managed error omits the header. The default route returns nested 404 not_found; exact routes retain authorization. Requires entitlements:read. The old customer_id query is refused even when both names are supplied.