PATCH
/
accounts
/
{account_id}
/
features
/
{feature_id}
/
entries
/
{entry_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

account_id corresponding to an account

feature_id
string
required

feature_id corresponding to a feature

entry_id
string
required

entryId corresponding to a particular entitlement/overage grant entry

Formats:

  1. If source of entry is an entitlement grant rate card in price plan: schedule_id#pricing_cycle_start_date$PRICE_PLAN
  2. If source of entry is an entitlement overage rate card in price plan: schedule_id#pricing_cycle_start_date$OVERAGE
  3. If source of entry is a purchase: purchase_id#int_index$PURCHASE

Body

application/json
effectiveUntil
string

Expiry date-time for a feature credits entry

granted
number

Granted units for a feature credits entry

Response

200 - application/json
id
string
required
source
enum<string>
required

Source of the feature credit

Available options:
ENTITLEMENT,
PRICE_PLAN,
OVERAGE,
REFUND
status
enum<string>
required

Status of the feature credit entry

Available options:
ACTIVE,
EXPIRED,
VOIDED
effectiveFrom
string
required
effectiveUntil
string
required
granted
number
balance
number
used
number
required