CSV Uploads
File formats for serials, gift stock and voucher codes, with examples.
Bulk data goes into Donaraz as CSV files: serial numbers, gift stock and voucher codes. Each upload has its own format and a sample file you can download from the upload dialog.
General rules
- The first row holds the column names, exactly as shown below (case-sensitive).
- Use a comma as separator. Put a value in double quotes when it contains a comma.
- Save as UTF-8 so accents and special characters survive.
- One row per serial, variant or code. Empty rows are ignored.
Exporting from Excel? Use Save as → CSV UTF-8 (Comma delimited). In Google Sheets use File → Download → CSV.
Serial numbers
Upload on a serial product (Products → Serials → your product → Upload CSV).
| Column | Required | Example |
|---|---|---|
sku | Yes | ABC123 |
serialNumber | Yes | SN001 |
salesChannel | Recommended | MediaMarkt |
sku,serialNumber,salesChannel
ABC123,SN001,MediaMarkt
ABC123,SN002,Coolblue
Serials already on the product are skipped. The retailer name is stored as written; tidy up spelling differences afterwards under Sales Channels.
Gift stock and variants
Upload on a gift product to add variants and stock in one go.
| Column | Required | Example |
|---|---|---|
sku | Yes | GIFT-001 |
variant | For variants | Medium |
giftCode | Optional | — |
amountAvailable | Yes | 10 |
isDigital | Yes | false |
sku,variant,giftCode,amountAvailable,isDigital
GIFT-001,Small,,10,false
GIFT-001,Medium,,10,false
Voucher codes
Upload one unique code per row. Each approved claim receives one code.
| Column | Required | Example |
|---|---|---|
sku | Yes | VOUCHER-10 |
giftCode | Yes | VOUCH10-0001-ABCD |
giftType | Yes | VOUCHER |
sku,giftCode,giftType
VOUCHER-10,VOUCH10-0001-ABCD,VOUCHER
VOUCHER-10,VOUCH10-0002-EFGH,VOUCHER
When an upload fails
| Problem | Fix |
|---|---|
| “Failed to read CSV” | The file isn’t plain CSV (for example an .xlsx renamed to .csv). Export it again as CSV UTF-8. |
| Nothing is created | Check the header row: column names must match exactly. |
| Everything is skipped | The serials or codes already exist on this product. |
| Strange characters | The file isn’t UTF-8. Export again with UTF-8 encoding. |
Related
Ready to get started?
Create your first promotion and start rewarding your customers today.
Create your first promotion