{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Badges 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": "Badges",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Badges for a Set of Placement IDs",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/tracking-ids/:trackingId/badges",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3`"
},
{
"name": "trackingId",
"value": "",
"type": "path",
"description": "The unique identifier of the tracking target."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Retrieve badges on products for a set of placements **Required privilege:** Execute Query
Privilege required
\n```\n{\"owner\":\"SEARCH_API\",\"targetDomain\":\"EXECUTE_QUERY\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}