Update 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.
Update the supplied fields of a page, leaving the rest as they are. pods, when supplied, replaces the complete ordered list: it cannot be patched in part, [] empties the page and keeps its other settings, and null is rejected. metadata_json is merged recursively into the page's current settings, and a null leaf restores that setting's default.
Answers 404 if the page, or 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.
Request
- Base URLhttps://ac.cnstrc.com
- URLhttps://ac.cnstrc.com/v1/recommendation_pages/{page_id}
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
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
{
"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"
}