Skip to main content

Import discount codes for redemption

Use manually imported discount codes for rewards instead of auto-generated ones.

Updated yesterday

By default, Smile automatically creates discount codes that customers can redeem with their loyalty points. For legacy custom merchants or Shopify merchants with specific edge cases, imported discount codes can be used instead. This allows you to upload your own set of codes rather than using those automatically generated by Smile.

💡 Important: Importing discount codes allows you to provide Smile with a list of pre-created codes that customers can redeem once they have enough points. This does not immediately send or distribute codes to customers. Instead, these codes are stored in your program and are issued when a customer decides to redeem.


Feature availability:
✅ Importing discount codes is supported on Shopify only.

Creating a CSV file


ℹ️ Note: To use imported discount codes, you must first have an imported reward set up. If you don’t see imported rewards as a redemption option in your account, contact our team via in-app chat or email us at help@smile.io.

To upload your discount codes, you’ll need to create a plain-text CSV file.

Your file should have a single column titled Code in the first row, containing each unique reward code you’ve created. The CSV file cannot contain special characters (such as %, $, or *).

You can also include an end date to limit code usage to a specific period. To do this, add a second column in your CSV file titled ends_at.

If no date is specified, discount codes will be available indefinitely. If an end date is specified, discount codes will be issued and remain valid until that date.

💡 Important: Dates must be formatted as follows and include times in UTC:

YYYY-MM-DD HH:MM:SS

Example: May 2, 2026 at 2:54 PM should be entered as 2026-05-02 14:54:00

Importing discount codes


Once your CSV file is ready, you can upload it to Smile.

To import your discount codes:

  1. In Smile Admin, navigate to Program > Points > Rewards.

  2. Select the imported reward you’d like to upload discount codes to.

  3. In the Imported discount codes card, click Add file and upload your CSV file.

  4. Click Save.

ℹ️ Note: CSV imports cannot be undone. Once you import your file, the changes take effect immediately.

Did this answer your question?