This article explains the process of importing discount codes to your Smile account for edge cases where you may want to use your own set of discount codes, and not codes that get automatically generated by Smile.
If you are currently using imported codes, or your imported codes have run out or expired, we recommend making the switch to auto-generated discount codes for your convenience.
✅ Imported discount codes are only available for custom platforms (legacy) and the Shopify platform (this is not available for merchants using WIX or BigCommerce)
Importing coupon codes
Discount codes should be created in a plain-text CSV file. This file should have a single column called Code which contains each of the unique reward codes you have created.
Make sure that you have only one code per line, and that your first line is the column name (Code).
Make sure that your CSV file name does not have any special characters included (%$*...etc).
When you have finished compiling your CSV file, you need to import them into your Smile program.
Select the Imported Reward you set up in the Rewards section of your program and find the Imported discount codes section at the bottom.
Upload your CSV file and save your changes to start using your imported discount codes.
Importing coupon codes for a limited period of time.
You can upload discount codes that are only valid for a specific period of time.
You can do this by adding a starts_at and ends_at column to your CSV file.
📋 Note: dates should be formatted as follows: YYYY-MM-DD HH:MM:SS
May 2, 2018 at 2:54 PM would be entered as 2018-05-02 14:54:00.
All times are considered UTC
If no dates are specified, discount codes will be available indefinitely.
If no starts_at date is indicated, coupons will be available immediately upon upload and remain valid until the specified ends_at date.
If no ends_at date is indicated, coupons will be available indefinitely once the starts_at date has passed.
📋 Note: CSV imports are not reversible. Once you have imported your data, the changes will be made automatically.
Switch to auto generated discount codes