{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Recommendations API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize",
"accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"items": [
{
"info": {
"name": "Recommendations",
"type": "folder"
},
"items": [
{
"info": {
"name": "Execute a Recommendations Query",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/recommendations",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3`"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Returns products linked to a recommendations slot.**Required privilege:** Execute Query
Privilege required
\n```\n{\"owner\":\"SEARCH_API\",\"targetDomain\":\"EXECUTE_QUERY\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "Preview a Recommendations Query",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/recommendations/preview",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3`"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Returns a preview response of products linked to a recommendations slot.**Required privilege:** Execute Query
Privilege required
\n```\n{\"owner\":\"SEARCH_API\",\"targetDomain\":\"EXECUTE_QUERY\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}