Donarazv0.2.2 - bèta

CSV Uploads

File formats for serials, gift stock and voucher codes, with examples.

On this page

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).

ColumnRequiredExample
skuYesABC123
serialNumberYesSN001
salesChannelRecommendedMediaMarkt
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.

ColumnRequiredExample
skuYesGIFT-001
variantFor variantsMedium
giftCodeOptional—
amountAvailableYes10
isDigitalYesfalse
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.

ColumnRequiredExample
skuYesVOUCHER-10
giftCodeYesVOUCH10-0001-ABCD
giftTypeYesVOUCHER
sku,giftCode,giftType
VOUCHER-10,VOUCH10-0001-ABCD,VOUCHER
VOUCHER-10,VOUCH10-0002-EFGH,VOUCHER

When an upload fails

ProblemFix
“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 createdCheck the header row: column names must match exactly.
Everything is skippedThe serials or codes already exist on this product.
Strange charactersThe file isn’t UTF-8. Export again with UTF-8 encoding.

Ready to get started?

Create your first promotion and start rewarding your customers today.

Create your first promotion