2Performant feeds
In order for 2Performant to fetch the products of your store, you must provide the URL of a CSV file that contains this information. The file must contain up to date information, every time it is fetched.
File format
CSV: one entry per line
- lines separated by:
\n
- attributes separated by
,
- string attributes surrounded by double quotes
"
Encoding: UTF8
Special characters
- if attributes contain new line characters, they should be replaced with whitespace
- if attributes contain
"
characters, they should be replaced with 2 double quotes:""
There should be no “header” line; the number of lines should be equal to the number of products.
Attributes
On each line, there should be the following attributes, in this exact order:
Attribute | Format | Example |
---|---|---|
Title [required] |
Text At most 255 characters |
|
Description [required] |
Text | |
Caption |
Text At most 254 characters (will be truncated to 254 characters, if larger) Although not required, the field must exist |
|
Price [required] |
Text If the product is on discount, send Decimal separator: Will be removed if does not fit the rules above. |
|
Category [required] |
Text At most 254 characters (will be truncated to 254 characters, if larger) |
|
Subcategory |
Text At most 254 characters (will be truncated to 254 characters, if larger) Although not required, the field must exist |
|
Full product url [required] |
Text | "https://example.com/products/12938" |
Images URLs [required] |
Text Multiple URL’s must be separated by |
"https://example.com/products/12938/image1.jpg,https://example.com/products/12938/image2.jpg" |
Product ID [required] |
Text Internal product ID. Should not change over time At most 254 characters (will be truncated to 254 characters, if larger) |
|
– [required] |
legacy column Must be |
|
Brand |
Text At most 254 characters (will be truncated to 254 characters, if larger) Although not required, the field must exist |
|
In stock? [required] |
Number
|
|
Other data |
JSON-encoded or YAML-encoded Although not required, the field must exist |
Notes:
CSV is not a standard. Here’s a format description