Operate > IBM Management Center for WebSphere Commerce > Promotions tool > Work with promotions
Import promotion codes
You can import the own set of unique promotion codes from a comma-separated values (CSV) file.
Before you begin
Ensure that you have created a CSV file containing the unique promotion codes, adhering to the following guidelines:
- The CSV file must contain a list of unique promotion codes containing alphanumeric characters.
- Each unique promotion code in the CSV file must be separated by a line break. That is, each line corresponds to a unique promotion code.
- If the file contains duplicate promotion code values, or values that already exist with existing promotions, the promotion codes are not populated during activation and an error message appears in the task summary.
- The promotion codes can contain special characters such as dashes (-) or underscores (_).
The following special characters are not supported:
- Comma (,)
- Double quotation mark (")
For example, the CSV file might resemble the following output when adhering to the guidelines:
VIP-123-889-0221 A3-811-3125 IBM-123-239-MMK-b2293 IBM-123-239-MMK-b2294
Procedure
- Open the Promotions tool.
- From the toolbar, click New > Promotion Code Import.
- Enter or browse to the file path of the local CSV file. The file size is calculated and displayed for reference.
You can only upload one CSV file at a time.
- Optional: Enter a name for the imported promotion codes.
Although the original file name is automatically entered into the field and can be kept as-is, the imported promotion code's name does not require a file extension. The summary report of the import task is displayed. This report contains any errors encountered when activating a promotion that populates promotion codes in this CSV file.
- Click Save to save the promotion codes, or click Save and Close to close the Promotion Codes Import tool, and return to the list page.
Your uploaded CSV file becomes a new Promotion Code Import file that can be associated and activated with a promotion.
Each Promotion Code Import can only be associated with one promotion at a time.
From the explorer view, click Promotion Code Imports. The Promotion Code Imports - List is displayed and shows all Promotion Code Imports that have been imported to the store.
What to do next
- Create a promotion that uses the Promotion Code Import file.
- Activate the promotion. During the activation, the selected Promotion Code Import file is used to populate the unique promotion codes for the promotion to the database.
Related tasks
Browse for promotions using lists and calendars
View which marketing activities reference a promotion
Activate or deactivating promotions
Raise customer awareness for the promotions