While we aim to always do the integration via REST api, we can support a CSV integration. On this page you fill find the information about the structure of the CSV files and some examples.
Structure of the CSV files
When creating a CSV dump we expect the CSV to follow a couple or rules:
The filename needs to have prefix [NameOfUpload]_[uniqueId].csv
Example, when uploading Brands it is Brands_101010101.csv
File size > for uploading the masterdata (like colors, sizes etc.) there is no limit to the file size. For transactional data we recommend to split the files with the same number of objects stated on this page Integration core principles.
Delimiter > comma
When a field cannot be filled leave it empty, example:
1. name,value1,value2,value3
2. "Product1",,,"3"Header > column titles are case sensitive and do not use double/single quotes around the titles (see above example)
Lines:
We expect all values (also boolean and integers for example) to be wrapped in double quotes and we use the following escape characters:
Double quotes in string:
1. name,description
2. "Product1","This is \"description\" that contains double quotes."New line in string:
1. name,description
2. "Product1","This is a description.\nIt spans multiple lines."
Explanation of fields
CSV examples
Below you can download the CSV examples. If you are looking for a more detailed explanation on what fields exactly mean you can refer to the corresponding API endpoint documentation.