HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

CSV feed example

Provides a CSV sample for the RSS feed used for importing catalog content from Optimizely Commerce to Optimizely Recommendations.

Each table below represents the layout of the CSV file. The first row is the header of the CSV file, and each row under the header is a single product. For formatting details, see Feed format.

πŸ“˜

Note

You can have an empty value for the pubDate element.

Example 1: Mandatory elements only

titledescriptionpubDateguidlinkimageLinkpricecategorystock
t-shirtred tshirt with pattern1/1/202412345www.examplesite.com/productAwww.examplesite.assets/productA100mens>clothing>tshirts10
trouserswork trousers1/10/236789www.examplesite.com/productBwww.examplesite.assets/productB80womens>clothing.trousers17

Example 2: Mandatory elements with localization

This example only localizes the title and description, but you can localize other elements as well. For localization details, see Location attribute.

location_en-GB_titlelocation_en-US_titlelocation_ca-FR_titlelocation_en-GB_descriptionlocation_en-US_descriptionlocation_ca-FR_descriptionpubDateguidlinkimageLinkpricecategorystock
t-shirtt-shirtchemisered tshirt with patternred tshirt with patternt-shirt rouge Γ  motif1/1/202412345www.examplesite.com/productAwww.examplesite.assets/productA100mens>clothing>tshirts10
trouserstrouserspantalonwork trouserswork trouserspantalon de travail1/10/236789www.examplesite.com/productBwww.examplesite.assets/productB80womens>clothing.trousers17

Example 3: Mandatory elements with additional attributes

For information on defining and adding additional attributes, see Attribute elements.

titledescriptionpubDateguidlinkimageLinkpricecategorystockcolorstylecollectionmargin
t-shirtred tshirt with pattern1/1/202412345www.examplesite.com/productAwww.examplesite.assets/productA100mens>clothing>tshirts10redpatternedsports20
trouserswork trousers1/10/236789www.examplesite.com/productBwww.examplesite.assets/productB80womens>clothing.trousers17navystraight legnull40