/personalized-recommendation
This page explains the request and response formats of 'personalized-recommendation' endpoint of Frenzy Search. It also provide examples to help you understand better.
Personalized Recommendations are based on the User Activity. API uses most recent events like recommendations, search, add to cart, add to wishlist, etc for each user to find the products that match the User's Interests.
NOTE: To use personalized recommendations make sure that 'user_id' is being sent to the Search ('/') and the Recommendations ('/recommendation') endpoint. This allows the API to track user-specific events.
GET
https://xyz.search.frenzy.ai/personalized-recommendation
Get top N products relevant to the user activity.
Query Parameters
user_id*
string
User Id associated with the request
num_matching*
integer
Required number of matching products
full_description
boolean
To get all products with their attributes set it to true
. (Default false
)
shop
string
name of the Shopify Store. (required for shopify stores)
Headers
X-Frenzy_Authorization*
string
API key provided at the time of account creation.
NOTE: For Shopify Customers
num_matching = is set in the portal
Response Object
matching_products
array
request_id
string
Id to track the request
Example Request
By default, the request will return only the list of matching product-ids.
Example Request (full_description = true
)
true
)To get all product attributes along with product-ids, set the full_description parameter to true
.
Last updated
Was this helpful?