HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

To improve product recommendations from launch, you can import historical online orders to help provide some historical data. The standard format for importing historical online orders is an XML format that contains the historical orders, along with the user who placed the orders and the products that were purchased. For example:

  • The root element is the <orders> element which contains one <order> element for each order.

  • Each <order> consists of the reference code (refCode) of the order (or order number), the currency that the order was placed in, the subTotal, shipping cost, total value of the order, and the orderDate. Each order contains user information and ordered products information.

    • The <user> element contains the email of the user who placed the order.

    • The <product> element consists of the product's reference code (as provided in the product catalog feed for Optimizely) along with the ordered quantity and ordered price (per unit).


The price should be the final price per unit that the user paid for the product.