How to Supply Historical Order Data Through a Feed

How to Supply Historical Order Data Through a Feed

  • updated 2 yrs ago

The data in the Hello Retail conversion span is gathered once the Hello Retail script is loaded and the span is available on the page. However, if you want Hello Retail to utilize historical data of products purchased together, you can provide an order-feed – preferably as a CSV (.csv), JSON (.json) or XML (.xml) file.

This order-feed should contain the information and be structured as listed below:

  • The order number of the purchase
  • The total sum (value) of the purchase
  • The date of the purchase
  • A list of the products in the order. Preferably as product number, or alternatively productURLs corresponding to those used on site can also be used.
  • The email address of the customer

This can either be submitted in a format where the order number itself is a "closed entity" with all the information about the order, or as a simple list where the order number is duplicated once per purchased item (in this case the value of each occurrence of the sum should be the total sum and not the value of each product line).

Example:

<orders>
   <order>
      <ordernumber>87345</ordernumber>
      <email>mail@example.com</email>
      <total>421.50</total>
      <date>2017-11-23 14:23:12</date>
      <products>
          <productNumber>5732365453466</productNumber>
          <productNumber>4773452312447</productNumber>
          ...
          ...
      </products>
   </order>
   ...
   ...
</orders>
Follow
  • 2 yrs agoLast active
  • 1127Views
  • 1 Following