v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
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

customer_idstring required

The unique ID of the customer.

cart_product_idsstring[]

List of the product IDs in the customer shopping cart.

product_id_liststring[]

List of the product IDs. Initial products of the recommendation engine.

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
  }
}