Get a customer's entitlements
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).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
customer_id*stringThe Comecero customer id.
feature?stringOne feature's key. Leave it out for every feature.
Success.
application/json- response
What one customer can do now, one row per feature in the catalog (or the one asked for).
object?stringAlways customer_entitlements.
customer_id?stringThe Comecero customer id.
external_id?stringThe id the usage meter and your app know the customer by, the customer's external_id, or the Comecero customer id when none is set.
checked_at?stringWhen the answer was worked out.
date-timeentitlements?array<>One row per feature, by key.
curl -X GET 'https://api.comecero.com/api/v1/customers/string/entitlements'{ "object": "customer_entitlements", "customer_id": "0091304300408CuoxY9Pf3", "external_id": "user_8412", "checked_at": "2026-11-15T10:30:00.000Z", "entitlements": [ { "feature": "api_calls", "type": "metered", "has_access": true, "reason": null, "value": null, "limit": "50000", "used": "12840", "remaining": "37160", "reset_at": "2026-12-01T00:00:00.000Z", "hard_limit": true, "limit_reached": false, "valid_until": "2026-12-01T00:00:00.000Z", "items": [ { "source": "SB0123456789:1", "has_access": true, "limit": "50000", "used": "12840", "remaining": "37160", "reset_at": "2026-12-01T00:00:00.000Z", "hard_limit": true, "limit_reached": false, "valid_until": "2026-12-01T00:00:00.000Z" } ], "plan_value": "10000", "override": { "override_id": "eo_9b2e6c1d4a7f4e3b8c5d0a1f2e3d4c5b", "feature_key": "api_calls", "limit": "50000", "expires_at": "2026-12-31T23:59:59.000Z" }, "source": "SB0123456789:1" }, { "feature": "sso", "type": "boolean", "has_access": true, "reason": null, "value": true, "limit": null, "used": null, "remaining": null, "reset_at": null, "hard_limit": false, "limit_reached": false, "valid_until": "2026-12-02T00:00:00.000Z", "plan_value": true, "override": null, "source": "SB0123456789:1" } ]}Overview
Previous Page
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. Comecero staff must enable entitlements for your shop before setup. Turning the switch off later does not remove existing grants from the meter. 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).