Product recommendation engine
Get the best recommendation with elimination for shopping cart
It selects the best products from an initial list for the customer shopping cart. Eliminates all products that don't match future customer preferences (depends on other customers' shopping behavior with the same products). The method doesn't have to return any results depending on the initial list (no product match future customer preferences).
post/recommendation-engine/shopping-cart/actions/eliminate
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"customer_id": "8ea2591121e636086a4a9c0992",
"cart_product_ids": [
"8fd73167342d0689c4c015320",
"84aec0f62c76448621d68d343c"
],
"product_id_list": [
"89d88719b8b442de2d11b401a2",
"88bb88399cc74d81edbe19d684"
]
}Response
OK
Example response
{
"data": {
"recommended_products_list": [
{
"product_id": "85d6598db0bf3f62afd5db8507",
"plu_ids": [
{
"list_code": "GLOBAL",
"code": "abc"
}
]
}
],
"total_items": 2
}
}