Menu
Setup
Create CMH scaffolding
POST
/rest/organizations/{organizationId}/commerce/v2/setupUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Setup action (under Commerce).
- Fill in the fields below, then reference the result from later steps as
{{setup.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"trackingIdToCatalogMapping": [
{
"catalogName": "MyCatalog",
"country": "GB",
"currency": "USD",
"language": "en"
}
],
"pipelineSetups": [
{
"pipelineId": "9716d88a-f02b-480e-bf44-ab1b1af165a8",
"deactivateRankingFactor": false,
"pipelineProductGrouping": {
"trackingId": "MyTrackingID",
"globalProductGroupingEnabled": false
}
}
],
"trackingId": "acmecorporation_ca"
}
Response
Returns 200 with an object. Read it in later steps with {{setup.response.data.<field>}}.
{
"globalConfigurationUpdated": [
{
"pipelineId": "pipelineId",
"productGrouping": "NONE"
}
],
"queryPipelines": [
{
"deactivateRankingFactor": false,
"id": "9a0914c9-08d4-42f6-ba37-44c8c3d4c196",
"name": "9a0914c9-08d4-42f6-ba37-44c8c3d4c196",
"pipelineProductGroupingEnabled": false
}
],
"trackingIdToCatalogMapping": [
{
"catalogName": "MyCatalog",
"country": "GB",
"currency": "USD",
"language": "en",
"primary": true,
"catalog": {
"availabilitySourceName": "availabilitysource",
"catalogConfiguration": {
"available": {
"idField": "availabilityid"
},
"product": {
"idField": "productid"
}
},
"id": "644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b",
"name": "string",
"sourceName": "acmecorporation8tp8wu3-qwpdaajjq3ahak5wlq7adhciuq"
}
}
]
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?