# Import products to a promotion with a CSV file

## Purpose

Use the Products-to-promotion import to add or update many Product rows for the promotion you are editing. For more than 50 records, use the import instead of selecting Products one by one.

## Prerequisites

Before you start:

- confirm that Promotions and imports are available for the selected webshop;
- create or open the intended promotion and keep that promotion selected;
- prepare a UTF-8 CSV file with one row per Product;
- choose one Product identifier that is present consistently in the file; and
- download the current template. The template and columns marked with `*` are the authority for the operation.

Use [Create and manage promotions](/article/use-promotions-to-adjust-purchase-advice) for the promotion dates, uplift, lifecycle, and other promotion settings. To choose between a self-serve import into one promotion and support-assisted creation of multiple promotions, see [Import promotions: dashboard or support-assisted](/article/import-promotions).

## Steps

1. Open **Promotions** and create or edit the intended promotion.
2. Choose the option to import Products.
3. Choose **Add new products to promotion** or **Update existing products in promotion**.
4. Choose the Product identifier: **Optiply ID**, **EAN code**, **SKU code**, or **Article code**.
5. Download the template and prepare the CSV for the selected operation.
6. Upload the CSV file.
7. Under **Match columns**, map the identifier and every field marked with `*`.
8. Under **Check for errors**, correct missing identifiers, duplicate mappings, blank values, and format errors.
9. When all rows are valid, select **Import**.
10. Open **Settings > Data management > Imports/Exports** to track the job, then return to the promotion and verify the Product list.

### Create promotion-product rows

Choose the add operation for Products that are not yet part of the current promotion. Each row identifies a Product to add to that promotion.

### Update promotion-product rows

Choose the update operation for Products already associated with the current promotion. Optiply uses the selected Product identifier to target each promotion-product row. Review the reported validation and job outcome for rows that are not matched.

## Fields and columns

The selected Product identifier and every field marked with `*` are required. The current example contains `skuCode`, `specificUpliftType`, and `specificUpliftIncrease`; download the template for the current operation because its requiredness can vary.

| Column | Required or optional | Meaning and format |
| --- | --- | --- |
| `id` / Optiply ID | Required when selected | Numeric Optiply Product identifier. Recommended when available. |
| `eanCode` | Required when selected | Product EAN code as text. Keep leading zeroes. |
| `skuCode` | Required when selected | Product SKU code as text. |
| `articleCode` | Required when selected | Product article code as text. |
| `specificUpliftType` | Operation-specific | Product-specific uplift type. Use a value supplied by the current template or wizard, such as the template's `absolute` example. |
| `specificUpliftIncrease` | Operation-specific | Numeric Product-specific uplift value interpreted according to `specificUpliftType`. |

The active promotion is supplied by the promotion you opened; do not add a promotion ID column unless the downloaded template explicitly provides one.

## No uplift: product import versus promotion setting

For **No uplift per Product** in **Products in a promotion**, leave both `specificUpliftType` and `specificUpliftIncrease` cells empty. Keep the headers from the current template. Do not enter `0` or `-` to mean No uplift. For `relative` or `absolute`, a zero increase is rejected; `-` is not a number.

When adding new Product rows, supply `specificUpliftType` and `specificUpliftIncrease` together, or leave both empty. When updating existing rows, you can supply just one of those fields, but it must be consistent with the other value already saved for that Product in the promotion. Check the job result and the saved uplift afterward.

For Dashboard Import into one promotion, `close_out` does not require the type and increase as a pair, and a zero increase is allowed. A supplied increase must still be numeric. This is a close-out choice, not another way to enter No uplift.

The upload import cannot set **No uplift for the promotion itself**. Set that promotion-level option in the [promotion editor](/article/use-promotions-to-adjust-purchase-advice), not in the uploaded Product file. The product-import blank-field rule is separate from changing the promotion's own uplift setting.

## Expected result

A successful add job links accepted Products to the current promotion. A successful update job changes matched promotion-product rows. The Imports table reports total, succeeded, failed, and skipped rows. Return to the same promotion and verify a sample of imported Products.

## Limitations

- Only CSV files are accepted by the wizard.
- The import applies to the promotion currently being edited; verify that promotion before starting.
- The selected Product identifier must be consistent and must match the intended Product.
- This task does not create the promotion or define its overall dates, lifecycle, or default uplift.
- Required columns can change with the current template. Do not reuse an old template without checking it.
- Starting a job does not establish a universal processing time.

## Errors and recovery

### Before the job starts

- **No uplift entered as `0` or `-`:** leave both `specificUpliftType` and `specificUpliftIncrease` cells empty, then validate the corrected rows again. These intentional empty cells are not missing Product identifiers.
- **Required identifier missing:** add the selected Product identifier and map it.
- **Duplicate headers or mappings:** keep each header once and map only one source column to the Product identifier.
- **Blank or invalid identifier:** correct the reported row and upload the CSV again.
- **CSV, UTF-8, empty-file, unreadable-file, or file-size error:** export a supported non-empty UTF-8 CSV and retry.

### Import job states

- **Queued:** wait for the job to start and refresh Imports/Exports.
- **Running:** the promotion import is still processing. Wait before checking the final Product list.
- **Complete:** verify the succeeded and skipped counts, then inspect the promotion.
- **Complete with fails:** some Product rows succeeded. Correct the failed identifiers and import only those rows again.
- **Failed:** review the displayed message, confirm the promotion and identifier choice, correct the file, and retry. If the failure remains unclear, contact Optiply support with non-sensitive job details.

See [Review import and export history](/article/imports-exports) for job-column meanings.

## Questions customers ask about importing products to a promotion

### Can I import products into a promotion myself?

Yes. Open the promotion in **Promotions**, choose the option to import Products and pick **Add new products to promotion** or **Update existing products in promotion**, then upload, map and check the CSV before you select **Import**.

### What am I doing wrong when my promotion file will not import?

Download the current template, choose one Product identifier and map it with every field marked `*` under **Match columns**. Under **Check for errors**, correct missing identifiers, duplicate mappings, blank values and format errors, and leave both uplift cells empty instead of entering `0` or `-` for no uplift.

### Why were fewer products added to my promotion than my file contains?

The Imports table in **Settings > Data management > Imports/Exports** reports total, succeeded, failed and skipped rows for the job. Correct the failed Product identifiers and import only those rows again.

## Related articles

- [Prepare a CSV file for an import](/article/how-to-create-a-csv-file)
