{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Facet Field Configurations 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": "Facet Field Configurations",
"type": "folder"
},
"items": [
{
"info": {
"name": "Update Multiple Facet Fields",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/tracking-ids/:trackingId/facet/fields/bulk-update",
"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": "Updates multiple facet fields.Maximum 100 items per request.**Required privilege:** Merchandising Hub - Edit
Privilege required
\n```\n{\"owner\":\"COMMERCE\",\"targetDomain\":\"MERCHANDISING_HUB\",\"type\":\"EDIT\",\"targetId\":\"{trackingId}\"}\n```\n "
},
{
"info": {
"name": "Creates Multiple Facet Fields",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/tracking-ids/:trackingId/facet/fields/bulk-create",
"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": "Creates multiple facet fields. Maximum 100 items per request.**Required privilege:** Merchandising Hub - Edit
Privilege required
\n```\n{\"owner\":\"COMMERCE\",\"targetDomain\":\"MERCHANDISING_HUB\",\"type\":\"EDIT\",\"targetId\":\"{trackingId}\"}\n```\n "
},
{
"info": {
"name": "Retrieves All Facet Fields",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/tracking-ids/:trackingId/facet/fields",
"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."
},
{
"name": "page",
"value": "",
"type": "query",
"description": "The 0-based index number of the page to retrieve."
},
{
"name": "perPage",
"value": "",
"type": "query",
"description": "The number of items to return per page."
}
]
},
"docs": "Retrieve all facet fields.**Required privilege:** Merchandising Hub - View
Privilege required
\n```\n{\"owner\":\"COMMERCE\",\"targetDomain\":\"MERCHANDISING_HUB\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}