younifyd
Menu

Get Slot Configurations

Retrieves all slot configurations of an organization

GET/rest/organizations/{organizationId}/commerce/v2/recommendations/slots

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Get Slot Configurations action (under Commerce).
  3. Fill in the fields below, then reference the result from later steps as {{getSlotConfigurations.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `acmecorporation8tp8wu3`

Query parameters

trackingIdstringrequired

The unique identifier of the tracking target.

pageinteger (int32)

The 0-based index number of the page of [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/) to retrieve.</br>**Minimum:** `0`</br>**Default:** `0`

Default 0

perPageinteger (int32)

The number of [slot configurations](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/) to list per page.</br>**Minimum:** `1`</br>**Maximum:** `1000`</br>**Default:** `10`

Default 10

Response

Returns 200 with an object. Read it in later steps with {{getSlotConfigurations.response.data.<field>}}.

itemsarray<object>

The retrieved page of items.

createdAtinteger (int64)

When the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/) was created.

headlinesarray<object>required2 fields

Localized recommendation headlines.

idstring (uuid)

The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).

minRecsinteger (int32)required

Products to be returned.

Default 1

namestringrequired

A unique name for the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).

queryConfigurationobject2 fields

Query configuration.

seedstring

The seed number for the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/). One of: unseeded, single, multi.

One ofunseededsinglemulti

seedTypestringrequired

The primary [seed product](https://docs.coveo.com/en/n5jg0219/glossary/seed-product) type used by recommendations strategies on this [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/). One of: product, cart or purchased.

One ofunseededproductcartpurchased

slotTypestringrequired

A slot type label that identifies the location of a slot.

One ofcartconfirmationglobalhomelistingproductDetailsearch

strategystringrequired

The [strategy](https://docs.coveo.com/en/3132/glossary/product-recommendations) to use for recommendations.

One ofbought_togetherpopular_boughtpopular_viewedviewed_together

trackingIdstringrequired

The unique identifier of the tracking target.

totalEntriesinteger (int64)

The total number of results that match the query.

totalPagesinteger (int32)

The total number of pages of items available.

json
{
  "items": [
    {
      "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"
    }
  ],
  "totalEntries": 0,
  "totalPages": 0
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.