Skip to main content

Import coupon codes

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

Karen (she/her) avatar
Written by Karen (she/her)
Updated this week

🛒 Supported on Shopify only

💳 Available on all plans

👤 Accessible to all roles


By default, Smile uses auto-generated discount codes for your loyalty program. For legacy custom merchants or Shopify merchants with specific edge cases, imported coupon codes can be used instead. This allows you to upload your own set of discount codes rather than using those automatically generated by Smile.

Tip: If you’re currently using imported codes, or your imported codes have run out or expired, we recommend switching to auto-generated discount codes for convenience.

ℹ️ Note: To use imported coupon 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.

Creating a CSV file


The first step to uploading coupon codes is to add them to 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 any special characters (such as %, $, or *).

You can also include an end date to limit code usage to a specific period of time. 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, coupons 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 coupon codes


When your CSV file is ready, you can import it into your Smile program.

To import your coupon codes:

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

  2. Select the imported reward you’d like to upload coupon 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?