Skip to main content

Hello!

We're currently using the GetZoneRecommandations.

And the "complete-the-set" recommender is set to our zone.

When I have a look on the "Review Sets" tab of the recommender, I can correctly see different sets.

However, when I do a test with a post, I get no recommandations.

Here's the body posted:

{

 

 "realm": "aa**",

 

 "products": [

  {

   

   "id": "SH1668-00"

   

  }

 ]

 

}

 

Here's the response :

{

    "recs": [],

    "recoUUID": "3f7fe622-3bb2-4774-8d0b-c40dbdf*****",

    "recommenderName": "complete-the-set",

    "displayMessage": "Discover test"

}

 

Do you have an idea?

Thanks a lot

Best

Thomas

3 件の回答
  1. 2020年11月19日 19:25

    If that product is not working for you, maybe something in the request is incorrect. Here is a curl that works for your zone:

     

    curl --location --request POST 'https://api.cquotient.com/v3/personalization/aa****/zones/fitting-room-zone/recs' \

    --header 'clientId: ****' \

    --header 'Content-Type: application/json' \

    --data-raw '{

      "products": [{

        "id": "TH8602-00"

      }]

    }'

     

    Yes, you can send a variation group product as the anchor, instead. Use the `altId` and `altIdType` body parameters in the product object.

0/9000