Beta: This endpoint is in beta and may change. It is currently available to a small group of users. To request access, contact your Customer Success Manager.
Retrieve recommendation results for every pod configured on a page in one request. Results are deduplicated across the page's pods server-side, so an item (or, if the page deduplicates by variation, an item variation) is returned by at most one pod unless it is slotted.
Shared parameters apply to every pod on the page. Use pod_overrides to give a pod its own num_results, filters, filter_match_types, pre_filter_expression, fmt_options or variations_map; every other parameter is page-wide. Prefer GET: every parameter, including pod_overrides (in bracket notation), can be sent in the query string. POST is also accepted, with pod_overrides as a JSON object in the body. The body accepts only pod_overrides; all other parameters stay in the query string.
Each element of response.pods carries the pod's effective request, its response and its result_id. A pod's response is the response of the single-pod endpoint, except experiments, which the page carries once, so existing rendering code can be reused.
Send the pod's own result_id (response.pods[].result_id) with that pod's recommendation_result_view and recommendation_result_click events. The top-level result_id identifies the page request and is not a beacon id.
This feature is currently in beta.This feature is currently available to a small group of users and may change. To request access, contact your Customer Success Manager.
Related content
POST returns the same response as GET, which is the preferred method: every parameter, including pod_overrides, can be sent in its query string. Use POST if you prefer to send pod_overrides as a JSON object in the body.
The body accepts only pod_overrides. Every other parameter, including key, stays in the query string, and any other field in the body returns 400.
// POST /recommendations/v1/pages/pdp_b2c?key=abc123&i=visitor-guid&item_id=product-123&num_results=10&filters[in_stock]=true
{
"pod_overrides": {
"similar_items": { "num_results": 12 },
"complete_the_look": {
"num_results": 8,
"filters": { "in_stock": "true", "category": "Apparel" }
}
}
}Overrides in the query string and the body merge per parameter: the body wins for a parameter set in both places for the same pod, and a body override does not remove unrelated query overrides for that pod.
Send each pod's own result_id (response.pods[].result_id) with the recommendation_result_view and recommendation_result_click events for that pod. The top-level result_id identifies the page request and is not a beacon ID.
See Retrieve by page (GET) for the shared and overridable parameters, the response contract, deduplication, tracking, errors and limits.
400Validation Error
404Not Found