Products For You

With Miso, you can provide a list of products that have been uniquely curated for every customer (even if they’re anonymous). These recommendations, which often appear on the homepage, will even update dynamically as the customer clicks and interacts with the site in real time.

Example for Products For You


One of our most powerful strategies for e-commerce personalization is to recommend uniquely ranked sets of products to customers instead of only relying on a static collection of popular products. What sets Miso apart is our ability to accurately predict the products that will engage a given customer, based on their previous behavior and their real-time interactions with the site. In other words, Miso’s product recommendations and rankings update with every click.

In this recipe, we’ll talk about how we can use Miso’s Recommendation Engine to generate the recommended products list that often appears in a ribbon alongside more merchandized content on the homepage, and may be called "Just for You," "Featured Products for You," etc.

Here’s an example of what that ribbon could look like on an online beauty products storefront:

Do it with APIs

You can easily build a “Products For You” ribbon using Miso’s User to Products API. When called, this API fetches a ranked list of products from your catalog that are most likely to engage the customer. Every time you call this API, you're getting the most up-to-date results based on the real-time interaction data that you stream to Miso.

All you need to provide Miso is the customer’s user_id. If they’re browsing anonymously, you can alternatively send the anonymous_id (we’ll reconcile the data if or when they sign in). The following is a basic example of sending a request using the User to Products API:

POST /v1/recommendation/user_to_products
"user_id": "user-123"

The response might look something like this:

  "message": "success",
  "data": {
    "took": 37,
    "miso_id": "517452b0-0ccf-11eb-948d-66359cf29022",
    "products": [
        "product_id": "morphe_pencil_set_fierce",
        "_personalization_score": 0.91
        "product_id": "tarte_amazonian_blush",
        "_personalization_score": 0.89
        "product_id": "huda_iridescent_lip_blam",
        "_personalization_score": 0.85

(Note: the response has been condensed for illustrative purposes)

Although this was a very basic example, the User to Products API can be highly customized to suit your requirements. You can integrate merchandising techniques such as boosting and pinning, exclude certain products, diversify the recommendations, and more. Check out the official API documentation for the full list of supported parameters.

Additional Resources

For more information on Miso’s Recommendation API, check out the official API Documentation.

For more recipes like this, visit the Recipes page on our Docs site.

Published Date: April 19th, 2022

API Reference


Need more info on the API? Check out our dedicated API page with all the info you could ever want.

Read API Reference
Icon/Activity Icon/Add Icon/API Icon/Arrow/Down Icon/Arrow/Left Icon/Arrow/Right Icon/Arrow/TopRight Icon/Arrow/Up Icon/Bento Icon/Billing Icon/Bin Icon/Book Icon/Bookmark/Default Icon/Bookmark/Filled Icon/Calendar Icon/Caret/Down Icon/Caret/Up Icon/Chavron/DownIcon/Chavron/LeftIcon/Chavron/RightIcon/Chavron/UpIcon/Checknox/CheckedIcon/Checknox/Unchecked Icon/Checklist Icon/Chip Icon/Clipboard / Copied Icon/Clipboard/Default Icon/Clock/Stopwatch Icon/CMD Icon/Data/Catalog Icon/Data/Engine Icon/Data/Group Icon/Data/Interact Icon/Data/Users Icon/Dive Icon/Docs/Key Icon/Dojo Icon/Email Icon/Env/Development Icon/Env/Playground Icon/Env/Prod Icon/Folder Icon/Fullscreen/Collapse Icon/Fullscreen/Expand Icon/Guides/Multiple Icon/Guides/Single Icon/Hashtag Icon/Heart/Outline Icon/Heart/Solid Icon / Cart z Icon / Click Icon / Clock Icon / Data Icon / Doc Icon / EmptyCart z Icon/Social/Facebook Icon / Genome Incognito Icon / Money Icon/Social/ProductHunt Icon / Search Icon/Social/Twitter Icon / User Icon/Info/Error Icon/Info/Info Icon/Info/Question Icon/Info/Warning Icon/Interact/Download Icon/Interact/Edit Icon/Interact/External v2 Icon/Interact/External Icon/Interact/Filter Icon/Interact/Logout Icon/Interact/Options Icon/Interact/Re-order Icon/Interact/Reload Icon/Interact/Remove Icon/Interact/Replace Icon/Interact/Search Icon/Interact/Shuffle Icon/Interact/Undo Icon/Interact/Upload Icon/Interact/Video Icon/Invoice Icon/Loading Icon/Loading Icon/Lock/Locked Icon/Lock/Unlocked Icon/Lock Icon/Mapping Menu Icon/Notification Icon/Overview Icon/Person/Team Icon/Person/User Icon/Plan/Enterprise Icon/Plan/Growth Icon/Plan/Startup Icon/Plan/Trial Icon/Recipe Icon/Rocket Icon/Settings/App Icon/Settings/User Icon/Settings Icon/Shrine Icon/Sidebar/Close Icon/Sidebar/Open Icon/Slideout Icon/Sort/Ascending Icon/Sort/Default Icon/Sort/Descending Icon/Star/Filled Icon/Star/Outlined Stopwatch Icon/Support Icon/Tag Icon/Interact/Thumb/Dislike Icon/Interact/Thumb/Like Icon/Tick Icon/Trend/New Icon/Trend/Trending Icon/Tutorial Icon/Lock/Unlocked Icon/View/Grid Icon/View/List Icon/Watchlist/Add