Create an entitlement override
Gives one customer one feature in place of what their plans give, until it expires or you remove it: more of a limit, a feature their plan lacks, or value: false to take a feature away. A customer has at most one active override per feature. A change in effective access fires entitlement:changed (cause override), including when an override expires. Not for a metered feature a feature set bills through a rate plan (the billed allowance could not follow); give the customer another feature set or rate plan instead. The feature's type and metric_id are fixed from now on. 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.
The override.
application/json- body
Send exactly one of value, limit or unlimited, as the feature's type takes it. Quantities are decimal strings of at most 12 digits and 6 decimals; a whole JSON number, such as 50000, is taken too (send a fraction as a string).
feature_key*stringAn active feature of the account. Not a metered feature a feature set bills through a rate plan (400).
value?||boolean features, true or false. number features, the value as a decimal string or a whole number. Any type, false takes the feature away.
^[0-9]{1,12}(\.[0-9]{1,6})?$0 <= value <= 999999999999limit?|Metered features. The limit in each reset window.
^[0-9]{1,12}(\.[0-9]{1,6})?$0 <= value <= 999999999999unlimited?booleannumber and metered features. No limit. Only true is taken; send value false to take a feature away.
expires_at?stringWhen it stops, in the future. Leave it out to keep it until you remove it.
date-timereason*stringWhy the customer gets it, up to 500 characters. Kept for audit.
length <= 500Success.
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.
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.
curl -X POST 'https://api.comecero.com/api/v1/customers/string/entitlement_overrides' \ -H 'Content-Type: application/json' \ -d '{ "feature_key": "api_calls", "limit": "50000", "expires_at": "2026-12-31T23:59:59Z", "reason": "Launch promotion agreed by sales"}'{ "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}List entitlement overrides GET
The customer's overrides, newest first: active ones, and the last 100 removed or expired, kept for audit. An override whose `expires_at` has passed shows as `expired`. Secret and trusted tokens may call it; a limited token may not (`403`).
Remove an entitlement override DELETE
Removes an active override: the customer's plan value is back, and `entitlement:changed` fires when effective access changes (cause `override`). The override is kept with status `removed`, for audit. Removing one that is already removed or expired changes nothing and answers the same. Secret and trusted tokens may call it; a limited token may not (`403`).