Update an entitlement
Update an entitlement
Authorizations
Basic authentication
Headers
Request unique identifier. If present, this id will be used for idempotency.
Path Parameters
Unique identifier used on activation.
Body
The entitlement activation JSON.
"60_DAYS_MUSIC"
ENUM parameter to instruct the type of benefits action needed as part of the update request only if a change is required. This enum is used to suspend and resume entitlements using the update method.
SUSPENDED, NORMAL Response
Entitlement updated successfully
"OK"
"Success"
Bango unique identifier representing an entitlement.
"981a55a5-b3a4-46dc-9fac-a86227b26344"
User unique identifier.
"1549053185"
Bango generated id shared between reseller and merchant for this customer (contact support for setup)
"414b3019-0c28-4d14-9c5f-6217b8bd1e3e"
Entitlement product unique identifier. For example, "30_DAYS_MUSIC".
"60_DAYS_MUSIC"
The offer given to the user for the merchant service. For example, "FREE_FOR_6_MONTHS".
"FREE_FOR_6_MONTHS"
Unique reseller identifier
"XYZ_RESELLER"
Unique identifier representing a specific customer of the reseller not anonymised. This value will only be sent by Bango if the Merchant and Reseller both approve the sharing of this data
Entitlement status. Possible values are:
- "ACTIVE": The entitlement has been successfully activated
- "CANCELLED": The entitlement has been cancelled.
- "REVOKED": The entitlement has been revoked. This usually happens on fraud and user contract termination cases.
- "SUSPENDED": The entitlement has been suspended.
- "PENDING": The entitlement has been initiated, but the user has not yet finalized the activation process.
- "FAILED": The entitlement failed
- "ACTIVE-ENDING": The entitlement is ending at the end of the current period.
ACTIVE, CANCELLED, REVOKED, SUSPENDED, PENDING, FAILED, ACTIVE-ENDING Date and time when the entitlement was created, in UTC ISO 8601 format (yyyy-MM-ddThh:mm:ssZ)
Date and time when the entitlement was activated, in UTC ISO 8601 format (yyyy-MM-ddThh:mm:ssZ)
Entitlement expiry date in UTC ISO 8601 format. Null if no expiry (yyyy-MM-ddThh:mm:ssZ)
null
Date and time when the entitlement ended due to termination, in UTC ISO 8601 format (yyyy-MM-ddThh:mm:ssZ)
null
Date and time when the entitlement was suspended, in UTC ISO 8601. Null if status is not Suspended. format (yyyy-MM-ddThh:mm:ssZ)
null
Date and time when the entitlement was suspended, in UTC ISO 8601. Null if the entitlement hasn't ever been resumed before. Format (yyyy-MM-ddThh:mm:ssZ)
null
Date and time when the entitlement will be automatically suspended at the request of the reseller, in UTC ISO 8601. Null if date is not set. format (yyyy-MM-ddThh:mm:ssZ)
null

