Personalized recommendations
Generic “customers also bought” recommendations don’t work for fragrance — two popular perfumes can smell completely different. A customer who loves a woody ambery will not appreciate a fresh citrus, regardless of how many other people bought it. WikiParfum generates recommendations based on olfactive affinity: ingredient composition, family relationships, and structural similarity. The result is suggestions that genuinely smell like something the user would enjoy — driving higher conversion and trust in the recommendation.The business impact
- Higher conversion — trust in the recommendation drives purchase
- Increased average order value — users explore and add complementary products
- Stronger loyalty — personalized experiences generate return visits (most users return within 30 days)
- Better cross-sell — suggest products based on what customers actually like, not just what’s popular
What you can build
- “If you like this” carousels on product pages
- Cross-sell and upsell modules based on olfactive proximity
- Scan-to-recommend experiences using EAN barcodes
- Personalized homepages based on browsing history
- Catalog-restricted recommendations scoped to a retailer’s assortment
Recommend similar perfumes
Given one or more perfumes the user likes, get similar fragrances ranked by olfactive proximity.perfumes (comma-separated WikiParfum IDs) or perfumeEans (comma-separated EANs). The input perfumes themselves never appear in the results.
Match score
Each recommendation includes arecoValue field: a similarity score between 0 and 1 representing how closely the recommended perfume matches the input perfume. It is returned as a string (e.g. "0.9444"), so convert it to a number before comparing or displaying it as a percentage (e.g. 0.87 = 87% match).
The score is computed by the WikiParfum recommendation engine from olfactive dimensions such as ingredient composition and family relationships. Candidates scoring 0.3 or less are never returned.
Result order
By default, results keep the order of the recommendation engine:- One input perfume — best match first.
- Several input perfumes — the candidate lists are interleaved: the best match for the first input, then the best match for the second, and so on. A perfume recommended for more than one input appears once. The overall list is therefore not sorted by
recoValue.
order_by to sort the whole result set before paging:
Any other value — including the
findPerfumes options such as "year desc" or "price-asc" — is ignored and results keep the default order.
What is excluded
Recommendations never include the input perfumes, discontinued perfumes, perfumes or brands that are not visible in WikiParfum, or perfumes excluded by your integration’s access rules. Each input perfume contributes at most 100 candidates before filters are applied.Recommend by EAN
Use EAN barcodes as input — ideal for scan-based or POS-integrated experiences where you have barcodes but not WikiParfum IDs.perfumes and perfumeEans in the same request.
Empty results
An empty list is a valid answer. It means one of:- No input resolved to a perfume (unknown IDs or EANs, or neither
perfumesnorperfumeEanswas sent). - No candidate passed your filters, your access rules or the exclusions above.
- The recommendation service was temporarily unavailable. The API does not report this as an error, so retry later if a request that usually returns results comes back empty.
Caching
Recommendations for each input perfume are cached for one day, per integration andgender filter. Other filters, sorting and paging are applied on top of the cached candidates on every request. Two consequences:
- When your integration’s access rules are widened (for example, a newly included brand), the new perfumes can take up to a day to appear in recommendations. Exclusions apply immediately.
- Requests that use
customRecommendationor thebrandsIdsfilter are computed fresh every time and are not cached.
Attributing requests to a user
Pass auserId to attribute the request to an end user in ScentXP analytics. It does not change the ranking: to tailor recommendations to a user, send the perfumes from their history as input. See CRM & Personalization.
Scoping to a catalog
Custom recommendation rules
UsecustomRecommendation to control which brands or perfumes appear in results. This is essential for retailers who need recommendations limited to their own assortment, or brands that want to exclude competitors.
How it combines with your integration’s access rules:
customRecommendationreplaces your access rules when the candidates are computed, but the access rules are still enforced on the results. You can narrow what your integration may see, never widen it.- Listing in
includedBrandsorincludedPerfumesa brand or perfume that your access rules exclude — or, when your rules include only specific brands or perfumes, one outside them — makes the request fail withINTERNAL_SERVER_ERROR(HTTP 200, fieldnull). See Error Handling. - The
genderfilter is ignored whilecustomRecommendationis enabled.
Filtering results
recommendedPerfumes applies a subset of the standard filters. Filters not listed here are ignored without an error.
Ignored on recommendations:
excludedBrandsIds, mainfamily, mainFamilyIds, subFamilyIds, subBrandsIds, excludedSubBrandsIds, allowedPerfumesIdsByBrand, perfumist, perfumistSlug, perfumistHouseIds, discontinued (discontinued perfumes are always excluded), withImage and showVariant.
Price-based filtering and sorting
If your catalog includes product prices via the Product Feed, you can filter recommendations by price range and sort by price.These options require a customer API key and the
price column in your Product Feed. Perfumes without a price in your catalog are excluded when filtering, and placed last when sorting. With any other key both are ignored without an error, and results keep the default recommendation order.When a perfume has several EANs with different prices, only the EANs within customerPriceRange count: they decide whether the perfume is included, its sort price, and what eans and customerInfo report. See Customer price range.Ingredient recommendations
Given a set of ingredients the user enjoys, find the other ingredients that appear together with all of them in the perfumes available to your integration. This powers ingredient-based exploration flows where users progressively build an olfactive profile. Pass the input asingredients (comma-separated IDs) or ingredientsSlugs (comma-separated slugs). Each input also covers its ingredient variants. The input ingredients themselves are not returned, but their variants can be.
The response also includes
numberOfPerfumesWithIngredients: the number of visible WikiParfum perfumes that contain all the input ingredients. It is 0 when no ingredient is returned.
If none of the ingredientsSlugs values matches an ingredient, the request fails with HTTP 500 and the code You must provide a valid ingredient slug or id — fix the slugs rather than retrying. Send at least one of ingredients or ingredientsSlugs.
Perfumer recommendations
Surface the perfumer most associated with the perfumes a user enjoys. The API takes the top 24 recommendations for each input perfume and returns the perfumist credited on the most of them.recommendedPerfumist does not accept filters or a userId. When no perfumist can be found — for example, the input perfumes have no recommendations, or none of them credits a perfumist — the field is null with an error: PERFUMIST_NOT_FOUND (HTTP 404) or INTERNAL_SERVER_ERROR (HTTP 200). Treat both as “no perfumer to show”.
