Skip to main content
POST

Authorizations

x-api-key
string
header
required

Headers

X-RequestIdentifier
string<uuid> | null

Optional identifier to support idempotency

Body

application/json

Entitlement report (search) request.

Provide either customerIdentifier or sharedCustomerId, but not both. status and statuses cannot be used together.

customerIdentifier
string
required

Unique customer identifier. Required if sharedCustomerId is not provided. Cannot be used with sharedCustomerId.

Required string length: 1 - 400
sharedCustomerId
string<uuid>

Bango-generated customer identifier. Required if customerIdentifier is not provided. Cannot be used with customerIdentifier.

Example:

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

productKey
string

Entitlement product unique identifier

Required string length: 1 - 255
merchantAccountKey
string

Merchant account key to filter by. Must be uppercase with no spaces.

Maximum string length: 100
Example:

"BANGO_US"

status
enum<string>

Entitlement status

  • PENDING
  • ACTIVE
  • SUSPENDED
  • ACTIVE-ENDING
  • CANCELLED
  • REVOKED
  • FAILED

Cannot be used with statuses.

Available options:
PENDING,
ACTIVE,
SUSPENDED,
ACTIVE-ENDING,
CANCELLED,
REVOKED,
FAILED
statuses
enum<string>[]

Entitlement statuses to filter by. Each value must be unique. Cannot be used with status.

Minimum array length: 1

Entitlement status filter for a report search.

Available options:
PENDING,
ACTIVE,
SUSPENDED,
ACTIVE-ENDING,
CANCELLED,
REVOKED,
FAILED
Example:

Response

Retrieval successful

Entitlement report (search) response.

responseCode
string
required

Result of the search request.

Example:

"OK"

responseMessage
string
required

Response message of the search request.

Example:

"Success"

entitlements
EntitlementRead · object[]
required

The entitlements matching the search criteria.