Substitute Products
  • 07 Feb 2024
  • 1 Minute to read

    Substitute Products


      Article Summary

      Overview

      This algorithm is a different approach on Collaborative Filtering Algorithms which has considered similarity of products. It recommends products that are similar and helps the product discovery process. It considers product similarity and price proximity. This type of algorithm works best on product pages and cart pages.

      Endpoint

      GET https://recommendation.api.useinsider.com/v2/substitute

      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

      Sample Example

      Sample Request

      GET https://recommendation.api.useinsider.com/v2/substitute?partnerName={PartnerName}&locale={Locale}&currency={Currency}&price=100&size=5

      Sample Response

      {
          "success": true,
          "total": 5,
          "types": {
              "sp": 5
          },
          "data": [
              "ABC-123654",
              "ABC-123321",
              "ABC-123789",
              "ABC-123987",
              "ABC-123456"
          ]
      }

      Fallback Algorithms

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

      • Viewed Together
      • Most Viewed Of Category

      Was this article helpful?

      What's Next
      ESC

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