Introduction to the Recommendation API

By using our API you can request product recommendations either directly on your site through the JavaScript SDK or via the REST-API from your backend. In either case, the returned data will be a JSON structure, containing either rendered HTML, or a JSON representation of the product. Notice that more than one set of recommendations can be requested at once by supplying more than one id.

Important: If you want to ensure no duplicates on a page, you will need to bundle all recommendation box requests on a page. By requesting more than one set of recommendations at once the system makes sure that there are no duplicate products across the set.e set of recommendations can be requested at once by supplying more than one id. By requesting more than one set of recommendations at once the system makes sure that there are no duplicate products across the set.

Also, If you experience the "Product box not found" exception, then verify that the box you want to retrieve has been published and is live.

‚Äč

The Recommendation Box ID can be easily found in the dashboard, under each recommendation box, as shown below:

General product recommendation box support articles, like algorithms & general setup can be found here.