Get Subscription Data

Get Information of balances, tiers, rewards and subscription members for a subscription

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. A unique identifier for the loyalty program.

Query parameters

contactIdstringOptional
The contact ID to filter by.
paramsstringOptional
A list of filter parameters for querying the subscription info.
loyaltySubscriptionIdstringOptional
The loyalty subscription ID to filter by.
includeInternalbooleanOptional
Include balances tied to internal definitions.

Response

Successfully retrieved subscription info.
balanceobject
Balance details for the subscription.
memberslist of objects
List of members associated with the subscription.
rewardlist of objects
List of rewards associated with the subscription.
tierlist of objects
List of tier assignments for the subscription.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error