Get Active Balances API

Returns Active Balances

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

pidstringRequiredformat: "uuid"
Loyalty Program Id

Query parameters

limitintegerOptional1-500
Limit
offsetintegerOptional>=0
Offset
sortFieldenumOptional
Sort Field
Allowed values:
sortenumOptional
Sort Order
Allowed values:
contactIdlongRequired>=1
Contact ID
balanceDefinitionIdstringRequiredformat: "uuid"
Balance Definition ID
includeInternalbooleanOptional
Include balances tied to internal definitions.

Response

Successful retrieval of active balances
countlong
Total number of active balances.
loyaltyProgramIdstringformat: "uuid"
Unique identifier of the loyalty program.
contactIdlong
Unique identifier of the contact.
balanceDefinitionIdstringformat: "uuid"
Unique identifier of the balance definition.
activeBalanceslist of objects
List of active balances.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error