/recommendation
This page explains the request and response formats of 'recommendation' endpoint of Frenzy Search. It also provide examples to help you understand better.
Returns similar products for the given product in the request.
recommendation
GET
https://xyz.search.frenzy.ai/recommendation
Get top N matching products for a given product-id.
Query Parameters
sku*
string
product-id of the product
full_description
boolean
To get all products with their attributes set it to true
. (Default false
)
num_matching
integer
Required number of matching products
user_id
string
User Id associated with the request (only required for personalization)
config_id
string
Config ID for A/B text
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
sku = product_id + '_' + variant_id
num_matching = is set in the portal
Response Object
Key
Type
Value
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?