comecerodocs

Retrieve entitlement override

GET
/customers/{customer_id}/entitlement_overrides/{override_id}

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.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

customer_id*string
override_id*string

Query Parameters

show?string

Comma-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?string

Comma-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?string

Comma-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.

Response Body

Public metadata.

application/json
  1. 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?string

Always entitlement_override.

override_id?string

eo_ plus 32 characters.

customer_id?string

The Comecero customer id.

feature_key?string

The 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?string

Metered features. The limit in each reset window, as a decimal string. Left out when not set.

unlimited?boolean

number 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.

Formatdate-time
reason?string

Why the customer has it.

created_by?string

The user behind the token that made it, or the token.

date_created?string

When it was made.

Formatdate-time
status?string

Only an active override applies.

Value in"active""removed""expired"
date_removed?string

When it was removed. Left out unless removed.

Formatdate-time
removed_by?string

Who removed it. Left out unless removed.

test?boolean

Test or live.

account_id?string
url*string
Formaturi
Example Request
curl -X GET 'https://api.comecero.com/api/v1/customers/string/entitlement_overrides/string'
Example Response
{  "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.