Update an entitlement
Subscriptions
Update an Entitlement
PATCH
Update an entitlement
Update an entitlement’s value.
Authorizations
Use your secret API key as a Bearer token.
Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).
Path Parameters
The entitlement identifier (prefixed ent_)
Body
application/json
The data type of the entitlement value
Available options:
boolean, numeric, string Boolean value (when value_type is boolean)
Numeric value (when value_type is numeric)
String value (when value_type is string)
Response
Entitlement updated
Unique identifier (prefixed ent_)
Example:
"ent_1a2b3c4d5e"
Organization identifier
Subscription plan identifier
Unique key identifying the feature
The data type of the entitlement value
Available options:
boolean, numeric, string Boolean value (when value_type is boolean)
Numeric value (when value_type is numeric)
String value (when value_type is string)
Available options:
live, sandbox