🛒 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 discount codes can be used instead. This allows you to upload your own set of codes rather than using those automatically generated by Smile.
ℹ️ 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 discount 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 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 discount codes
When your CSV file is ready, you can import it into your Smile program.
To import your discount codes:
In Smile Admin, navigate to Program > Points > Rewards.
Select the imported reward you’d like to upload discount codes to.
In the Imported discount codes card, click Add file and upload your CSV file.
Click Save.
ℹ️ Note: CSV imports cannot be undone. Once you import your file, the changes take effect immediately.