Create recommendation page
🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: recommendations(w).
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.
Create a page and return it. Answers 409 if a page is already configured under that page_id for this key and section; use PUT to replace one. Answers 404 if a pod in pods is not configured for this key and section, and 400 if pods repeats a pod or lists more pods than the page limit. pods may be empty.
Request
- Base URLhttps://ac.cnstrc.com
- URLhttps://ac.cnstrc.com/v1/recommendation_pages
- Auth
- HTTP basic
- or HTTP bearer
Query parameters
The key of the index to use.
The section of the index to use. Defaults to Products.
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Request body
Example request
{
"page_id": "pdp_b2c",
"display_name": "PDP - B2C",
"pods": [
{
"pod_id": "similar_items"
}
]
}Response
OK
Example response
{
"page_id": "pdp_b2c",
"display_name": "PDP - B2C",
"pods": [
{
"pod_id": "similar_items"
}
],
"created_at": "2021-01-01T00:00:00",
"updated_at": "2021-02-01T00:00:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.