Most Valuable Products
  • 07 Feb 2024
  • 1 Minute to read

    Most Valuable Products


      Article Summary

      Overview

      This algorithm recommends items by their contribution to the total revenue. It recommends products that generate more revenue across your site. Products are recommended based on the contribution to revenue and revenue per visit. This type of algorithm can be used on all page types.

      Endpoint

      GET https://recommendation.api.useinsider.com/v2/most-valuable

      Query Parameters

      ParameterSample ValueDescriptionData TypeRequired
      partnerNamemybrandPartner Identifier which is assigned by Insider. You can use PartnerID as well.StringYes
      localeus_USLocale of requested product catalog.StringYes
      platformwebRequested platform. Web comes by default.EnumNo
      currencyUSDRequested currency of the products. If no value is set, the default currency in your settings is used.StringYes
      size50Required number of items in response. Valid values are 0 to 100.IntegerNo
      categoryList[“Clothes”, “Skirts”]Category filter of the productsArray (of string)No
      filter
      Smart Recommender filtering. There can be more than one filter parameter.StringNo
      detailstrueAdds details to the products of the response.BooleanNo
      shufflefalseShuffles the products of the response.BooleanNo
      getGroupProductsfalseShows variant products under the products of the response.BooleanNo
      groupProductsFields
      Adds these fields to the variant products’ details.StringNo
      excludeVariantstrueExclude variants from response.BooleanNo
      userId
      a1b2c3d4
      User identifier which is assigned by Insider.
      StringNo
      excludeViewDay
      30After how many days should viewed products be excluded.
      IntegerNo (Can be used only with userId)
      excludeViewItem
      100How many viewed products should be excluded.
      IntegerNo (Can be used only with userId)
      excludePurchaseDay
      30After how many days should purchased products be excluded.
      IntegerNo (Can be used only with userId)
      excludePurchaseItem
      100How many purchased products should be excluded.
      IntegerNo (Can be used only with userId)
      hpfalseMakes affinities affect products of the response.
      BooleanNo

      Sample Example

      Sample Request

      GET https://recommendation.api.useinsider.com/v2/most-valuable?locale={Locale}&currency={Currenct}&partnerName={PartnerName}

      Sample Response

      {
          "success": true,
          "total": 10,
          "types": {
              "mpop": 10
          },
          "data": [
              "QAZ-7890",
              "XYZ-1234",
              "QAZ-7899",
              "XYZ-1233",
              "QAZ-7898",
              "XYZ-1243",
              "QAZ-7891",
              "XYZ-1223",
              "QAZ-7892",
              "XYZ-1342"
          ]
      }

      Fallback Algorithms

      If the products come from Most Valuable Products are not enough to fill the response data, some fallback algorithms below fill it:

      • Most valuable products of category including the rightmost item in the categoryList.

      Was this article helpful?

      What's Next
      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses