Data import is loading data from one system into another – for example products from a supplier's feed into an online shop, or prices from a spreadsheet into a catalogue. During an import the system reads the file, matches columns or fields to its own data and creates or updates products. The opposite is data export.
What data import is
Think of an import as unloading goods from a lorry into a warehouse. The lorry (a file or feed) has brought goods in boxes labelled in its own way, and the warehouse worker (the system) has to put each box on the right shelf. If the boxes are labelled wrongly, the goods end up in the wrong place.
During an import this happens:
- The system reads the file – XML, CSV, XLSX or JSON, from a file or from an address.
- It matches fields – the column "Price incl. VAT" from the file is saved to its own price field. This is called data mapping.
- It recognises products by an identifier – it updates existing ones and adds new ones.
We distinguish a one-off import (for example the first filling of an online shop) and a regular import on a schedule, when the system downloads the feed itself and keeps prices and stock up to date. The opposite direction, creating a file for another system, is data export.
What it is used for
- Products from a supplier into an online shop – instead of creating thousands of products by hand.
- Updating prices and stock – several times a day according to a wholesaler's feed.
- Adding data – for example purchase prices or descriptions from a spreadsheet.
- Moving between systems – a switch to another e-commerce platform.
What to watch out for
- Wrong character encoding – question marks or odd symbols appear instead of "č" and "ž".
- Wrongly matched columns – a price excluding VAT is saved as a price including VAT and the whole shop sells cheaper.
- Overwriting your own edits – a regular import can overwrite titles and descriptions that you edited by hand in the online shop.
- Excel and long numbers – an EAN turns into
8.58123E+12after being opened in Excel. - An incomplete file – if a supplier sends only some of the products, the import may switch off the rest.
How Sortyra helps
Sortyra loads suppliers' feeds in Sources (XML, CSV, JSON, JSON Lines, XLSX) on a schedule, recognises the fields and suggests a mapping. For an import into an online shop it prepares an output for Shoptet or WooCommerce, and you can send only stock and price. In Products you will find Import edits (CSV) with a preview of the changes, and the rule Import from another source adds data from another source.
Related terms
- Data export
- Data source
- Data mapping
- UTF-8 encoding
- Feed update schedule
- In more detail: Adding your first feed and A supplier's feed
Frequently asked questions
What is the difference between import and export?
An import loads data into a system, while an export creates it from the system as a file or feed for someone else.
How often should I import from a supplier?
It depends on how quickly prices and stock change. With dropshipping the feed is usually downloaded several times a day.
Why did the accents break after an import?
The file has a different encoding from the one the system read it with. It helps to find out the correct encoding (for example UTF-8 or windows-1250) and load the file again.