For some webshops, it's relevant to upload sales-data from other systems than the actual webshop, for example if you want to opitimise the algorithm based on sales from a physical store, or B2B store.

To upload these sales, you need to create a Data Feed, but leave the "products" and "categories" lists empty, effectively only sending the "sales" as part of the feed.

An example structure can be seen here:

  "products": [],
  "categories": [],
  "sales": [{
    "id": 123458,
    "customer": 789,
    "email": "",
    "products": [{"id":456,"quantity":1,"price":200.00}, {"id":789,"quantity":2,"price":120.00}],
    "time": 1389871120

    "id": 123456,
    "customer": 456,
    "email": "",
    "products": [{"id":456,"quantity":1,"price":200.00}, {"id":789,"quantity":2,"price":120.00},{"id":123,"quantity":2,"price":60.00}],
    "time": 1389870977

After creating this feed, do the following:

  1. Go to Data at
  2. Copy the URL from your existing feed and save it somewhere. You need to copy it back later.
  3. Insert the URL of your new sales feed and click Update Settings
  4. Click Start New Data Sync and wait for the import to finish. Your products and categories will stay, but all the new orders will be added to the Store.
  5. Put back the URL of your existing feed and click Update Settings again

You have now updated's algorithm with your sales. 

Did this answer your question?