Skip to main content
POST
Get a list of entitlements for a bangoUserId or sharedCustomerId, matching specific criteria

Authorizations

Authorization
string
header
required

Basic authentication

Headers

X-RequestIdentifier
string

Request unique identifier. If present, this id will be used for idempotency.

Body

application/json

The report filters JSON.

List of filters applied to retrieve a list of existing entitlements

resellerId
string
required

Unique reseller identifier

Example:

"XYZ_RESELLER"

bangoUserId
string

User unique identifier. Include this OR the sharedCustomerId

Example:

"1549053185"

sharedCustomerId
string<uuid>

Bango generated id shared between reseller and merchant for this customer (contact support for setup). Include this OR bangoUserId

Example:

"414b3019-0c28-4d14-9c5f-6217b8bd1e3e"

productId
string

Entitlement product unique identifier. For example, "BangoMusic".

Example:

"BangoMusic"

status
enum<string>

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.
Available options:
ACTIVE,
CANCELLED,
REVOKED,
SUSPENDED,
PENDING,
FAILED,
ACTIVE-ENDING

Response

Retrieval successful

responseCode
string
Example:

"OK"

responseMessage
string
Example:

"Success"

entitlements
object[]