Suggest similar products to site visitors - Bloomreach Experience - Open Source CMS

Suggest similar products to site visitors

Deprecated
This API is going to be deprecated by the end of 2020. New customers will be a part of the Pathways and Recommendations platform. To know more about Pathways and Recommendations, see this page. Please contact your Bloomreach representative for more information.


Example request

Here’s an example API call for an MLT query, using the product ID, 1000065194:

GET http://core.dxpapi.com/api/v1/core/?
account_id=<Bloomreach Provided Account ID>
&domain_key=example_com
&request_id=8438674518839
&url=test
&request_type=widget
&rows=5
&start=0
&pid=1000065194
&title=Boys Graphic Tee
&fl=pid,title

The parameter,  pid, in the API call is the product that the MLT suggestions are based on.

All of the parameters in the example call are required parameters for all MLT calls. Your own MLT calls might include optional parameters, but must always include these parameters, too. As a More Like This query, the request_type parameter must be defined with the specific setting, widget.

Example response

{
 "response": {
 
   "numFound": 284,
   "start": 0,
   "docs": [
 
     {
 
       "pid": "1000068980",
       "title": "Strapless Tea Length Lace Dress with Sweetheart Neckline"
     }
,
     {
 
       "pid": "1000063663",
       "title": "Sleeveless Short Prom Dress with Illusion Lace and Pleated Skirt"
     }
,
     {
 
       "pid": "1000065223",
       "title": "Short Lace Prom Dress with Pleated Illusion Neckline"
     }
,
     {
 
       "pid": "1000063668",
       "title": "Two Tone Short Prom Dress with Scalloped Lace Illusion Bodice"
     }
,
     {
 
       "pid": "1000064025",
       "title": "Glitter Short Prom Dress with Spaghetti Straps and Lace Waist"
 ]
 
}
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?