/pdp-recs
This page outlines the request and response formats for Frenzy Search’s PDP Recommendations endpoint. It also includes examples for easier understanding.
The endpoint returns similar and cross-sell products based on the product provided in the request.
Note: The /pdp-recs endpoint consolidates the functionality of both /recommendation and /pair-with. We recommend using /pdp-recs moving forward to access the latest features.
PDP Recommendations
POST https://xyz.search.frenzy.ai/pdp-recs
Get top N matching products for a given sku.
Query Parameters
sku*
string
Unique id for the product. For Shopify users - sku = product_id + "" + variant_id.
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).
session_id
string
Session id associated with the request.
config_id
string
Configuration id for widget..
shop
string
Shopify's myshopify url. (without https://)
ab_test_id
string
A/B test id when test is running.
currency
string
Currency code.
country
string
Country code.
state
string
State code.
company_id
string
Shopify B2B company id.
location_id
string
Shopify B2B location id.
publication_app_id
string
Shopify publication app id.
Headers
X-Frenzy-Authorization*
string
API key provided at the time of account creation.
X-Shop
string
Shopify's myshopify url. (without https://)
NOTE: For Shopify Customers
sku = product_id + '_' + variant_id
num_matching = is set in the portal
Response Object
Last updated
Was this helpful?