Product recommendation engine
Get the best recommendation 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). If needed, it fills the missing number of results from the best products depends on the prediction algorithms.
post/recommendation-engine/shopping-cart/actions/combine
Request
- Base URLhttps://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
],
"count": 5
}Response
OK
Example response
{
"data": {
"recommended_products_list": [
{
"product_id": "85d6598db0bf3f62afd5db8507",
"plu_ids": [
{
"list_code": "GLOBAL",
"code": "abc"
}
]
}
],
"total_items": 2
}
}Changes
No recorded changes to this operation across all 1 revision of this API.