Managing card-based loyalty program data
You can import and export loyalty card data, update card statuses, link cards to customer profiles, and manually add to or deduct points from loyalty cards.
Importing loyalty cards into a program
You can import a CSV file containing loyalty cards into a loyalty program at any time.
Cards can be imported with or without customer profiles linked to them, depending on whether your import file contains Customer IDs.
-
On the leftmost menu, click Loyalty.
-
Click the name of the card-based loyalty program where you want to import cards.
-
At the top-right of the page, click Manage Loyalty Data > Import Loyalty Cards.
-
In the pop-up that appears, click Upload a CSV file.
tipTo see the required structure of the CSV file, click Download a sample file.
-
Select a CSV file with the cards you want to import.
-
Click Import Cards.
Linking customer profiles to a loyalty card
Link one or more customer profiles to a given loyalty card programmatically.
When a customer profile is linked to a card, the card is set as Registered. You can then use the Loyalty card is registered condition to create different rules and restrict the use of cards that are not registered. For example, you can create a referral code or display a given notification only if the loyalty card has customer profiles linked to it.
To link a customer profile to a card, use the Link customer to loyalty card endpoint.
Edit the card user limit in the loyalty program Settings to modify the number of customers that can be linked to the loyalty card.
Once a customer profile is linked to a loyalty card, we start collecting data, such as the card's balances and transaction logs, for that specific profile. You can then share this information with your customer.
The card code and the card's loyalty balances and transaction logs originally come from the integration layer's requests to the List customer data endpoint.
Importing loyalty points into a card
You can import loyalty points into a loyalty card at any time:
-
On the leftmost menu, click Loyalty.
-
Click the name of the loyalty program where you want to import points.
-
At the top-right of the page, click Manage Loyalty Data > Import Loyalty Points.
-
In the pop-up that appears, click Upload a CSV file to select a CSV file of loyalty points from your computer.
tipTo see the required structure of the CSV file, click Download a sample file.
-
Click Import Loyalty Points.
Exporting loyalty cards
Download a CSV file containing the loyalty cards in your loyalty program. You can use the exported card codes to, for example, print physical loyalty cards or integrate with other tools.
- On the leftmost menu, click Loyalty.
- Click the name of the card-based loyalty program containing the cards you want to export.
- At the top-right of the page, click Manage Loyalty Data > Export Loyalty Cards.
- (Optional) To export only the loyalty cards that belong to a specific batch, in Batch ID, enter a batch ID. If you don't specify one, all the loyalty cards in the loyalty program are exported.
- In Date format, select the date format of your choice.
- Click Export Loyalty Cards.
Exporting the transaction logs
Download a CSV file with the loyalty point transactions made with a given card. This allows you, for example, to import this data in other BI tools to analyze the use of the card.
-
On the leftmost menu, click Loyalty.
-
Click the name of the card-based loyalty program containing the card whose transaction logs you want to export.
-
Find the card you want to export, then click > Export Transaction Logs.
noteYou can also export the transaction logs from the Logs tab of the loyalty card page.
-
In Transaction logs after, set the initial date.
-
(Optional) In Transaction logs before, set the end date. The default end date is the current date.
-
In Code, type the identification code of the card you want to export.
-
In Date format, select the date format of your choice.
-
Click Export Data.
Exporting the loyalty balances
Download a CSV file containing the balances of all users of a loyalty program for a given date and time. Use it to get the number of active, pending, expired, and spent points for each customer.
- On the leftmost menu, click Loyalty.
- Click the name of the program whose balance you want to export.
- At the top-right of the dashboard, click Manage Loyalty Data > Export Loyalty Balance.
- In Date and time, select the date and time for which you want to export the loyalty balance.
- Click Export Loyalty Balance.
In the exported file, all timestamp values follow UTC+00:00
.
Transferring loyalty data to a new card
In case of a broken, stolen, or lost loyalty card, you can copy the original card data to a newly created card.
The new card has the same linked customers and the same loyalty point balances and transactions as the original one, but its code is different. The new card's status is Active.
The status of the original card is updated to Blocked after the new card is created. You cannot reactivate the card or transfer data from it again, but you can export the transaction logs at any time.
- On the leftmost menu, click Loyalty.
- Click the name of the loyalty program that contains the card you want to transfer and block.
- To the left of the card you want to transfer and block, click > Transfer & Block.
- In New code, enter a unique identification code for the new loyalty card.
- In Reason, enter the reason for transferring and blocking the existing card.
- Click Transfer & Block.
- In the pop-up that appears, click Transfer & Block.
You can also transfer data to a new card and block the old card via the button from the loyalty card page or by using the Transfer loyalty card data endpoint.
Changing a loyalty card status
You can manually update the status of a loyalty card.
To activate a loyalty card:
- On the leftmost menu, click Loyalty.
- Click the name of the loyalty program containing the card you want to activate.
- Find the card you want to activate, then click > Activate
You can also activate a loyalty card on the loyalty card page.
To deactivate a loyalty card:
- On the leftmost menu, click Loyalty.
- Click the name of the loyalty program containing the card you want to deactivate.
- Find the card you want to deactivate, then click > Deactivate.
You can also deactivate a loyalty card on the loyalty card page.
Manually adding loyalty points
You can manually add loyalty points to a loyalty card.
-
On the leftmost menu, click Loyalty.
-
Click the name of the loyalty program that contains the card you want to manually add points to.
-
Click the code of the required card.
-
Click the Logs tab.
-
To the right of the Subledgers dropdown, click > Add Points.
-
In Points, enter the number of points you want to add.
-
In Reason, enter the reason for adding points.
-
In Reward start date, select when your rewards become active.
-
With Program default, the rewards become active based on the date set in the loyalty program.
noteYou can edit the default start date in the loyalty program.
-
With Immediate, the rewards become active immediately.
-
In Custom, you can choose a Relative start date or an Absolute start date.
Examples: Relative reward start
For all the examples mentioned in this table, we assume that the customer session closes on
12 October 2024, 07:20:50
.Relative reward start date Points become active on 10
minute(s) after the session12 October 2024, 07:30:50
1
hour(s) after the session12 October 2024, 08:20:50
5
day(s) after the session17 October 2023, 07:20:50
5
day(s) after the session, start of the day17 October 2024, 00:00:00
5
day(s) after the session, end of the day17 October 2024, 23:59:59
1
week(s) after the session19 October 2024, 07:20:50
1
week(s) after the session, on the last Sunday20 October 2024, 23:59:59
1
month(s) after the session12 November 2024, 07:20:50
1
month(s) after the session, on the last day of the month30 November 2024, 23:59:59
-
-
In Reward expiration date, select when your rewards expire.
-
With Program default, the rewards expire based on the date set in the loyalty program.
noteYou can edit the default expiration date in the loyalty program.
-
With Unlimited, the rewards stay active for an unlimited period of time.
-
In Custom, you can choose a Relative expiration date or an Absolute expiration date.
Examples: Relative reward expiration
For all the examples mentioned in this table, we assume:
- The customer session closes on
12 October 2024, 07:20:50
. - The rewarded loyalty points are active immediately.
Reward expiration Points expire on 10
minute(s) after the session12 October 2024, 07:30:50
1
hour(s) after the session12 October 2024, 08:20:50
5
day(s) after the session17 October 2023, 07:20:50
5
day(s) after the session, start of the day17 October 2024, 00:00:00
5
day(s) after the session, end of the day17 October 2024, 23:59:59
1
week(s) after the session19 October 2024, 07:20:50
1
week(s) after the session, on the last Sunday20 October 2024, 23:59:59
1
month(s) after the session12 November 2024, 07:20:50
1
month(s) after the session, on the last day of the month30 November 2024, 23:59:59
- The customer session closes on
-
-
Click Add Points.
Manually deducting loyalty points
You can manually deduct loyalty points from a loyalty card.
- On the leftmost menu, click Loyalty.
- Click the name of the loyalty program that contains the card you want to manually deduct points from.
- Click the code of the required card.
- Click the Logs tab.
- To the right of the Subledgers dropdown, click > Deduct Points.
- In Points, enter the number of points you want to deduct.
- In Reason, enter the reason for deducting points.
- Click Deduct Points.
Deleting a loyalty card
You can delete a loyalty card at any point. By deleting a loyalty card, you also delete the corresponding loyalty point logs, lists of linked customers, and metadata.
- On the leftmost menu, click Loyalty.
- Click the name of the card-based loyalty program containing the card you want to delete.
- Find the card you want to delete, then click > Delete.
- In the pop-up that appears, click Delete Card.
You can also delete a loyalty card via the button on the loyalty card page.