Product recommendation engine
Order products for the best recommendation for a shopping cart
The method returns the algorithm ordered products from the initial list (best first). Results depend on the customer shopping cart and his previous shopping behavior. If needed, the initial parameter might define the number of results.
post/recommendation-engine/shopping-cart/actions/order
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"cart_product_ids": [
"8fd73167342d0689c4c015320",
"84aec0f62c76448621d68d343c"
],
"product_id_list": [
"89d88719b8b442de2d11b401a2",
"88bb88399cc74d81edbe19d684"
],
"count": 5
}Response
OK
Example response
{
"data": {
"recommended_products_list": [
{
"product_id": "85d6598db0bf3f62afd5db8507",
"plu_ids": [
{
"list_code": "GLOBAL",
"code": "abc"
}
]
}
],
"total_items": 2
}
}