Managing coupons and gift cards
After you have created coupons and gift cards in a campaign, from the Coupons page of your campaign, you can list, edit, export, and delete them. You can also import coupons directly from a CSV file.
Redeeming a coupon
Use the coupon code is valid condition in your rules to redeem your coupons.
You can then add any required effects. For example, you can create a rule to issue a discount on the session total when a customer uses a valid coupon in their order. Learn more about it in the coupon tutorial.
If you cancel a session where a coupon was redeemed, the coupon can be used again. Learn more in our Developer docs.
Editing coupons
You can modify some characteristics of a coupon or a batch of coupons after it has been created. For example, you can add an expiration date.
For security reasons, you cannot edit the code itself.
You can edit coupons with a recipient integration ID directly in the Coupons tab of the customer's profile. To edit a coupon, in the Edit column, click .
Editing coupons individually
To edit coupons individually:
- On the left-side menu of the campaign where the coupon was created, click Coupons.
- Select the checkbox to the left of the coupon you want to edit.
- At the top of the page, click > Edit coupon.
- Edit the required information and click Update Coupon to save your changes.
Editing a coupon batch
To edit a batch of coupons:
- On the left-side menu of the campaign where the batch of coupons was created, click Coupons.
- Select the checkbox to the left of the coupon whose batch you want to edit.
- At the top of the page, click > Edit batch.
- Edit the required information.
- Click Update Batch and confirm your action in the pop-up that appears.
Deleting coupons
You can delete coupons from your campaign to free up space and reduce clutter.
You can delete coupons in one of the following ways:
- Delete only expired coupons, only unredeemed coupons, or both.
- Delete coupons individually.
- Delete a batch of coupons.
- Delete all coupons in a campaign.
Deleting expired and unredeemed coupons
To delete expired and unredeemed coupons:
-
On the left-side menu of your campaign, click Settings > Delete.
-
In the Delete coupons section, select the coupons you want to delete:
- All expired coupons: Deletes expired coupons, regardless of their redemption.
- All unredeemed coupons: Deletes coupons whose redemption is
0
, regardless of their validity. - All expired coupons and All unredeemed coupons:
Deletes expired coupons whose redemption is
0
.
tipYou can check the validity and redemption of your coupons on the Coupons page.
-
Click Delete Coupons.
-
In the confirmation window that appears, confirm your action and click Delete Coupons.
Deleting coupons individually
To delete coupons individually:
-
On the left-side menu of the campaign where the coupon was created, click Coupons.
-
Select the checkbox to the left of the coupon you want to delete.
tipSelect as many coupons as you want. To select all the coupons displayed on the page, at the top of the coupons list, select the checkbox next to Code.
-
At the top of the page, click > Delete 1 coupon.
-
In the confirmation window that appears, click Delete Selected Coupons.
Deleting a coupon batch
To delete a batch of coupons:
-
On the left-side menu of the campaign where the batch of coupons was created, click Coupons.
-
Select the checkbox to the left of the coupon whose batch you want to delete.
-
At the top of the page, click > Delete batch.
noteThe batch of coupons is deleted without any further confirmation.
Deleting all coupons
To delete all coupons:
- On the left-side menu of the campaign where you want to delete the coupons, click Coupons.
- To the right of the Create Coupons button, click .
- Click Delete All Coupons.
- In the confirmation window that appears, click Delete All Coupons.
Importing coupons
You can import coupons and gift cards from any other marketing tool into Talon.One.
To import coupons:
-
On the left-side menu of the campaign where you want to import your coupons, click Coupons.
-
To the right of the Create Coupons button, click .
-
Click Import Coupons.
-
Click Upload a CSV file to select a CSV file with codes from your computer. Ensure the file does not contain any duplicate records.
tip- To see the required structure of the CSV file, click Download a sample file.
- To upload codes with custom attributes, see Importing codes with custom attributes.
-
Click Import Coupons.
- If no limit is set for an imported coupon, the default is single use.
- For gift cards, in the
limitval
column, enter0
. This way, a gift card can be used repeatedly until its entire value is spent.
Importing coupons with custom attributes
Before you begin, we recommend you:
- Familiarize yourself with the JSON syntax and data types.
- Ensure you know each attribute's API name, type, and value.
- Ensure that location attribute data is managed by a technical user.
To import coupons with custom attributes:
-
In your CSV file, add a column called
attributes
. -
Insert a JSON object listing the key-value pairs in the
attributes
column.The pattern is:
{"api_name_1": my_integer_value, "api_name_2": "my_string_value", ...}
.TroubleshootingIf you use a text editor to edit your CSV file, you may encounter
Import Error: Read CSV error parse error on line 2
when you upload the file. To solve it, duplicate all double-quotes.The pattern is:
"{""api_name_1"": my_integer_value, ""api_name_2"": ""my_string_value"", ...}"
.
The format of the attribute value depends on the attribute type, as shown in the following table:
Attribute type | Attribute value format |
---|---|
String | "value" |
Number | 1 |
Boolean | true or false |
Time | "2022-03-15T00:00:00Z" |
Location | "{\"name\":\"geofence_name\",\"format\":\"geojson-base64\",\"object\":\"geofence_data\"}" |
List of strings | ["value1", "value2", "value3"] |
List of numbers | [1, 2, 3] |
List of dates | ["2022-02-15T00:00:00+02:00", "2022-10-15T00:00:00+02:00", "2022-03-16T00:00:00+02:00"] |
List of locations | ["{\"name\":\"geofence_name1\",\"format\":\"geojson-base64\",\"object\":\"geofence_data1\"}", "{\"name\":\"geofence_name2\",\"format\":\"geojson-base64\",\"object\":\"geofence_data2\"}", "{\"name\":\"geofence_name3\",\"format\":\"geojson-base64\",\"object\":\"geofence_data3\"}"] |
Imagine we want to import a coupon that has two custom attributes:
- A string attribute called
type
. - A boolean attribute called
added_customer_benefits
.
The content of the attributes
column in our CSV file must be:
{"type": "special", "added_customer_benefits": true}
.
Exporting coupons
You can obtain a CSV file with the coupons and gift cards from your campaign.
You can do this, for example, to import the coupons into another marketing tool, like a mailing tool, or to share them in promotional literature, like magazines and newspapers.
To export coupons:
-
On the left-side menu of the campaign from which you want to export coupons, click Coupons.
-
To the right of the Create Coupons button, click .
-
Click Export Coupons.
-
Use the tabs to choose which coupons you want to export:
- To export all the coupons created after a date you select in Created after, click After a Specific Date.
- To export all the coupons from the same batch you specify in Batch ID, click Specific Batch.
- To export all the coupons created after one of your previous exports, click After Recent Export. You can choose the specific export by using the Created after dropdown menu. This option is available only if you have exported coupons.
tipTo filter your coupons in a different way, use your spreadsheet software.
-
In Export scope, choose whether you want to export all coupon data or only the coupon code values.
-
In Date format, select the date format of your choice.
noteIn the exported file, all timestamp values follow
UTC+00:00
. -
Click Export Coupons.