{
  "info": {
    "_postman_id": "7aecd176-f774-4ac7-9633-4531ec91cba1",
    "name": "Coveo Activity Activities Setup API",
    "description": "API for Coveo Platform\n\nContact Support:\n Name: Coveo",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:32:33.000Z",
    "updatedAt": "2026-07-28T01:32:33.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-7aecd176-f774-4ac7-9633-4531ec91cba1"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organizationId}",
              "item": [
                {
                  "name": "commerce",
                  "item": [
                    {
                      "name": "v2",
                      "item": [
                        {
                          "name": "setup",
                          "item": [
                            {
                              "name": "Create CMH Scaffolding",
                              "id": "f0cd47cd-ce8f-4168-83c2-7f38e5ff60d2",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "*/*"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"trackingIdToCatalogMapping\": [\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"FA\",\n      \"currency\": \"JTJ\",\n      \"language\": \"ft\"\n    },\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"RJ\",\n      \"currency\": \"NAO\",\n      \"language\": \"mf\"\n    }\n  ],\n  \"trackingId\": \"<string>\",\n  \"pipelineSetups\": [\n    {\n      \"pipelineId\": \"<string>\",\n      \"pipelineProductGrouping\": {\n        \"trackingId\": \"<string>\",\n        \"globalProductGroupingEnabled\": \"<boolean>\"\n      },\n      \"deactivateRankingFactor\": \"<boolean>\"\n    },\n    {\n      \"pipelineId\": \"<string>\",\n      \"pipelineProductGrouping\": {\n        \"trackingId\": \"<string>\",\n        \"globalProductGroupingEnabled\": \"<boolean>\"\n      },\n      \"deactivateRankingFactor\": \"<boolean>\"\n    }\n  ]\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/rest/organizations/:organizationId/commerce/v2/setup",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "organizations",
                                    ":organizationId",
                                    "commerce",
                                    "v2",
                                    "setup"
                                  ],
                                  "variable": [
                                    {
                                      "id": "99f299fa-0a9d-4cc3-bb26-df0e26a55cb8",
                                      "key": "organizationId",
                                      "value": "<string>",
                                      "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `acmecorporation8tp8wu3`"
                                    }
                                  ]
                                },
                                "description": "Creates the resources recommended to [setup](https://docs.coveo.com/en/o25a0034) Coveo for Commerce in a [organization](https://docs.coveo.com/en/185/).</br></br>**Required privilege:** Merchandising Hub - Edit<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"COMMERCE\",\"targetDomain\":\"MERCHANDISING_HUB\",\"type\":\"EDIT\",\"targetId\":\"{body.trackingId}\"}\n```\n</details>"
                              },
                              "response": [
                                {
                                  "id": "e33cf449-48e0-4bf1-b2c5-56c2d06cc997",
                                  "name": "OK",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "*/*"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: oauth2",
                                        "key": "Authorization",
                                        "value": "<token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"trackingIdToCatalogMapping\": [\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"FA\",\n      \"currency\": \"JTJ\",\n      \"language\": \"ft\"\n    },\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"RJ\",\n      \"currency\": \"NAO\",\n      \"language\": \"mf\"\n    }\n  ],\n  \"trackingId\": \"<string>\",\n  \"pipelineSetups\": [\n    {\n      \"pipelineId\": \"<string>\",\n      \"pipelineProductGrouping\": {\n        \"trackingId\": \"<string>\",\n        \"globalProductGroupingEnabled\": \"<boolean>\"\n      },\n      \"deactivateRankingFactor\": \"<boolean>\"\n    },\n    {\n      \"pipelineId\": \"<string>\",\n      \"pipelineProductGrouping\": {\n        \"trackingId\": \"<string>\",\n        \"globalProductGroupingEnabled\": \"<boolean>\"\n      },\n      \"deactivateRankingFactor\": \"<boolean>\"\n    }\n  ]\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/organizations/:organizationId/commerce/v2/setup",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "organizations",
                                        ":organizationId",
                                        "commerce",
                                        "v2",
                                        "setup"
                                      ],
                                      "variable": [
                                        {
                                          "key": "organizationId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "text",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "*/*"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"queryPipelines\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"deactivateRankingFactor\": \"<boolean>\",\n      \"pipelineProductGroupingEnabled\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"deactivateRankingFactor\": \"<boolean>\",\n      \"pipelineProductGroupingEnabled\": \"<boolean>\"\n    }\n  ],\n  \"globalConfigurationUpdated\": [\n    {\n      \"productGrouping\": \"query_pipeline\",\n      \"pipelineId\": \"<string>\"\n    },\n    {\n      \"productGrouping\": \"none\",\n      \"pipelineId\": \"<string>\"\n    }\n  ],\n  \"trackingIdToCatalogMapping\": [\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"MB\",\n      \"currency\": \"JHZ\",\n      \"language\": \"mn\",\n      \"primary\": \"<boolean>\",\n      \"catalog\": {\n        \"id\": \"<uuid>\",\n        \"name\": \"<string>\",\n        \"sourceName\": \"<string>\",\n        \"availabilitySourceName\": \"<string>\",\n        \"catalogConfiguration\": {\n          \"product\": {\n            \"idField\": \"<string>\"\n          },\n          \"available\": {\n            \"idField\": \"<string>\"\n          }\n        }\n      }\n    },\n    {\n      \"catalogName\": \"<string>\",\n      \"country\": \"XY\",\n      \"currency\": \"WMK\",\n      \"language\": \"dm\",\n      \"primary\": \"<boolean>\",\n      \"catalog\": {\n        \"id\": \"<uuid>\",\n        \"name\": \"<string>\",\n        \"sourceName\": \"<string>\",\n        \"availabilitySourceName\": \"<string>\",\n        \"catalogConfiguration\": {\n          \"product\": {\n            \"idField\": \"<string>\"\n          },\n          \"available\": {\n            \"idField\": \"<string>\"\n          }\n        }\n      }\n    }\n  ]\n}",
                                  "createdAt": "2026-07-28T01:32:33.000Z",
                                  "updatedAt": "2026-07-28T01:32:33.000Z",
                                  "uid": "35240-e33cf449-48e0-4bf1-b2c5-56c2d06cc997"
                                }
                              ],
                              "createdAt": "2026-07-28T01:32:33.000Z",
                              "updatedAt": "2026-07-28T01:32:33.000Z",
                              "uid": "35240-f0cd47cd-ce8f-4168-83c2-7f38e5ff60d2"
                            }
                          ],
                          "id": "45ae7e8d-ff34-429e-8992-a04f5d57ec33",
                          "createdAt": "2026-07-28T01:32:33.000Z",
                          "updatedAt": "2026-07-28T01:32:33.000Z",
                          "uid": "35240-45ae7e8d-ff34-429e-8992-a04f5d57ec33"
                        }
                      ],
                      "id": "4365c9e5-4a09-4de7-81b8-6bf8e94ce741",
                      "createdAt": "2026-07-28T01:32:33.000Z",
                      "updatedAt": "2026-07-28T01:32:33.000Z",
                      "uid": "35240-4365c9e5-4a09-4de7-81b8-6bf8e94ce741"
                    }
                  ],
                  "id": "005b87f1-4719-4705-a758-d08aad2a2808",
                  "createdAt": "2026-07-28T01:32:33.000Z",
                  "updatedAt": "2026-07-28T01:32:33.000Z",
                  "uid": "35240-005b87f1-4719-4705-a758-d08aad2a2808"
                }
              ],
              "id": "ee57dd11-3016-4fee-b1c5-e889c958fc0a",
              "createdAt": "2026-07-28T01:32:33.000Z",
              "updatedAt": "2026-07-28T01:32:33.000Z",
              "uid": "35240-ee57dd11-3016-4fee-b1c5-e889c958fc0a"
            }
          ],
          "id": "c859fad9-81fd-45a9-ae13-b37301de1b83",
          "createdAt": "2026-07-28T01:32:33.000Z",
          "updatedAt": "2026-07-28T01:32:33.000Z",
          "uid": "35240-c859fad9-81fd-45a9-ae13-b37301de1b83"
        }
      ],
      "id": "e0f20d25-3a40-4505-8450-23412e1c4c84",
      "createdAt": "2026-07-28T01:32:33.000Z",
      "updatedAt": "2026-07-28T01:32:33.000Z",
      "uid": "35240-e0f20d25-3a40-4505-8450-23412e1c4c84"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "full",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://platform.cloud.coveo.com/oauth/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://platform.cloud.coveo.com/oauth/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://platform.cloud.coveo.com"
    }
  ]
}