Export customers' tier data
GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/export_customers_tiers?subledgerIds=[10,20]&tierNames=[Silver,Gold]
Download a CSV file containing the tier information for customers of the specified loyalty program.
The generated file contains the following columns:
programid
: The identifier of the loyalty program. It is displayed in your Talon.One deployment URL.subledgerid
: The ID of the subledger associated with the loyalty program. This column is empty if the loyalty program has no subledger. In this case, refer to the export file name to get the ID of the loyalty program.customerprofileid
: The ID used to integrate customer profiles with the loyalty program.tiername
: The name of the tier.startdate
: The tier start date in RFC3339.expirydate
: The tier expiry date in RFC3339.
You can filter the results by providing the following optional input parameters:
subledgerIds
(optional): Filter results by subledger ID. If no value is provided, all subledger data for the specified loyalty program will be exported.tierNames
(optional): Filter results by tier name. If no value is provided, all tier data for the specified loyalty program will be exported.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subledgerIds | string | An array of subledgers IDs to filter the export by. | |
tierNames | string | An array of tier names to filter the export by. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |