Menu
Create Slot Configuration
Create a slot configuration
POST
/rest/organizations/{organizationId}/commerce/v2/recommendations/slotsUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Create Slot Configuration action (under Commerce).
- Fill in the fields below, then reference the result from later steps as
{{createSlotConfiguration.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"headlines": [
{
"headline": "You might be interested in",
"language": "en"
}
],
"minRecs": 1,
"name": "Homepage Primary.",
"seedType": "product",
"slotType": "home",
"strategy": "popular_bought",
"trackingId": "acmecorporation_ca",
"createdAt": 0,
"id": "755e2dd8-3a8f-19fb-b9ed-ed89c4f83c3b",
"queryConfiguration": {
"additionalFields": [
"color",
"shirtsize"
],
"perPage": 20
},
"seed": "unseeded"
}
Response
Returns 201 with an object. Read it in later steps with {{createSlotConfiguration.response.data.<field>}}.
{
"headlines": [
{
"headline": "You might be interested in",
"language": "en"
}
],
"minRecs": 1,
"name": "Homepage Primary.",
"seedType": "product",
"slotType": "home",
"strategy": "popular_bought",
"trackingId": "acmecorporation_ca",
"createdAt": 0,
"id": "755e2dd8-3a8f-19fb-b9ed-ed89c4f83c3b",
"queryConfiguration": {
"additionalFields": [
"color",
"shirtsize"
],
"perPage": 20
},
"seed": "unseeded"
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?