How to prepare a CSV catalog for LiVi
This guide is for developers and store technical teams. It covers CSV examples, field formatting and what happens when a catalog is updated.
Products are uploaded through one CSV import process. The file can use either of two column layouts:
- Flexible CSV — suitable for a standard export from your system. Required product data must be present, but column names and order can vary within supported rules.
- Fixed 11-column CSV — suitable for developers generating a file specifically for LiVi. Column names and order are exact.
These are not two different connections or two different catalogs. Both formats send products to the same store catalog.
1. Structuring CSV columns
Flexible CSV — if you already have a product export
This works if you already have a CSV with fields such as артикул (SKU), назва (name), ціна (price) and залишок (stock). LiVi recognizes a defined set of Ukrainian, English and Russian field names. You can reorder the columns and omit optional fields.
The file must contain between 2 and 24 columns in total. Two arbitrary columns are not enough: product identifier, name, and availability status or stock quantity are mandatory. In-stock products require a price, and a price requires a currency.
Example CSV with sample products:
артикул,назва,ціна,валюта,залишок
SKU-001,Настільна лампа,"1 250,50",UAH,8
SKU-002,Синя настільна лампа,900,UAH,0
Columns in this example are comma-separated. The price "1 250,50" is enclosed in double quotes, so its decimal comma does not create an extra column.
Other supported names for these fields include:
| Field | Example headers |
|---|---|
| Product identifier | product_id, id, sku, артикул |
| Name | title, name, назва, найменування |
| Price | price_amount, price, ціна |
| Currency | currency, валюта |
| Availability | availability, наявність |
| Stock quantity | stock_quantity, stock, залишок |
| Category | category, категорія |
| Description | description, опис |
| Brand | brand, бренд |
| Image | image_url, image, посилання на зображення |
For the complete list of supported fields and aliases, see Catalog fields.
Unknown columns are ignored. If two columns map to the same field — for example, both sku and артикул — the file is rejected. Headers are recognized using defined rules, not translated freely by AI.
Fixed 11-column CSV — if you generate files programmatically
Choose this layout if you generate files programmatically and prefer a predetermined schema. The first row must contain exactly these 11 column names in this order:
product_id,title,product_url,price_amount,currency,availability,category,description,brand,image_url,variant
Example of one sample product:
product_id,title,product_url,price_amount,currency,availability,category,description,brand,image_url,variant
LAMP-001,Настільна лампа,https://example.com/products/lamp-001,1250.50,UAH,in_stock,Освітлення,Для робочого столу,DemoBrand,https://example.com/images/lamp.jpg,чорна
Category is mandatory in this layout. Price and currency may be empty only together, under the rules of this specific format. Do not apply that exception to flexible CSV.
2. General file requirements
| Parameter | Requirement |
|---|---|
| File type | CSV, comma-separated columns |
| Encoding | UTF-8 without BOM |
| Text containing commas | Enclose the value in double quotes: "Лампа, біла" |
| Quotation marks within text | Escape by doubling the quotes: "Модель ""Стандарт""" |
| Size | Up to 64 MiB (67,108,864 bytes) for uploads through the dashboard |
| Number of products | Checked during catalog processing and index preparation |
| Updates | Each new CSV contains the entire current assortment |
| Errors | If validation fails, the whole import is rejected |
This importer does not accept Excel (.xlsx), XML, TSV or CSV files using semicolons as separators. Successfully uploading a file does not guarantee search readiness: check that processing finishes and the status is READY. File-size and validation limits still apply; an unlimited catalog is not promised.
3. Formatting product data
- ID: Unique for each product, 1–80 characters. Do not start it with
=,+,-or@. - Name: 1–160 characters.
- Price: Non-negative, with at most two digits after the decimal separator. If a price is provided, include a currency such as
UAH. Dashboard imports do not assign a currency automatically. - Availability: Provide a status or stock quantity. A quantity of zero means out of stock. If you provide both, they must not conflict.
- Links: Product and image URLs are optional. Where present, they must be safe HTTPS addresses.
- Packaging: If packaging data is included, provide
package_size,package_quantityandpackage_unittogether. Accepted units:pack,pcs,kg,g,l,ml.
For detailed field constraints, see the field reference.
4. Checks before uploading
- Save the file as UTF-8 without BOM.
- Make sure columns use comma separators and values containing commas are quoted.
- Check the headers and make sure there are no duplicate product IDs.
- Verify prices, currencies and stock quantities.
- Confirm the file contains every product that should remain in the catalog after the update.
5. What happens after upload
LiVi validates the file, creates a new catalog version and publishes it after successful validation. This replaces the entire assortment, rather than merely appending new rows. An item missing from the newly published file is no longer part of the active catalog.
If the new file is rejected, the previous published version remains active. Correct the file and try again. If you lose the response confirming import completion, check the status of the current attempt before starting additional uploads blindly.
6. If the import returns an error
| What happened | What to check |
|---|---|
| Columns aren't recognized | Headers, separator and encoding |
| Duplicate product | Uniqueness of product_id or sku |
| Price error | Number format and presence of currency |
| Availability error | Whether stock quantity and status conflict |
| Wrong format | Whether the file is genuinely CSV rather than Excel or a file using ; |
Detailed troubleshooting · Catalog readiness check.
Next step: Upload CSV through your LiVi dashboard or review API connection requirements.
