Entitlements
Update a feature credits entry
This API letβs you to update the following attributes: effectiveUntil
and granted
- effectiveUntil: must be in future
- granted: must be greater than the existing usage (previous granted - current balance)
PATCH
/
accounts
/
{account_id}
/
features
/
{feature_id}
/
entries
/
{entry_id}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
account_id corresponding to an account
Maximum length:
50
feature_id corresponding to a feature
Maximum length:
50
entryId
corresponding to a particular entitlement/overage grant entry
Formats:
- If source of entry is an entitlement grant rate card in price plan:
schedule_id#pricing_cycle_start_date$PRICE_PLAN
- If source of entry is an entitlement overage rate card in price plan:
schedule_id#pricing_cycle_start_date$OVERAGE
- If source of entry is a purchase:
purchase_id#int_index$PURCHASE
Maximum length:
50
Body
application/json
Expiry date-time for a feature credits entry
Granted units for a feature credits entry
Response
200 - application/json
Get feature credits response
Maximum length:
50
Source of the feature credit
Available options:
ENTITLEMENT
, PRICE_PLAN
, OVERAGE
, REFUND
Status of the feature credit entry
Available options:
ACTIVE
, EXPIRED
, VOIDED