younifyd
Menu

Get All

Get All Listing Configurations of Organization

GET/rest/organizations/{organizationId}/commerce/v2/configurations/listings

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Get All action (under Commerce).
  3. Fill in the fields below, then reference the result from later steps as {{getAll.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.

querystring

Filter on names when requesting listing configuration names & IDs. Will perform '*query*' match pattern.

pageinteger (int32)

The 0-based index number of the page of listing configurations to retrieve.</br>**Minimum:** `0`</br>**Default:** `0`

Default 0

perPageinteger (int32)

The number of listing configurations 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 {{getAll.response.data.<field>}}.

itemsarray<object>

The retrieved page of items.

facetCollectionConfigurationIdstring (uuid)

The unique identifier of the [facet collection configuration](https://docs.coveo.com/en/p5890502/glossary/facet-collection).</br>Can only be modified via /facetCollection endpoint</br>

idstring (uuid)

The unique identifier of the listing configuration.

namestringrequired

A unique name for the listing configuration.

patternsarray<object>required1 fields

Possible patterns matching values associated to a listing configuration.

queryConfigurationobject6 fields

Query configuration.

rulesobjectrequired3 fields

Rules to apply at query time.

scopestring

Rule scope to return. One of: [specific, global]. Returns all if not specified.

One ofglobalspecific

trackingIdstringrequired

The unique identifier of the tracking target. This value is immutable after creation and is ignored on update.

totalEntriesinteger (int64)

The total number of results that match the query.

totalPagesinteger (int32)

The total number of pages of items available.

json
{
  "items": [
    {
      "name": "ACME Corp Summer Trends",
      "patterns": [
        {
          "url": "https://sports.barca.group/plp/clothing/pants"
        }
      ],
      "rules": {
        "filterRules": [
          {
            "action": "include",
            "essential": false,
            "filters": [
              {
                "fieldName": "price",
                "operator": "isExactly",
                "value": {
                  "type": "decimal",
                  "value": 99.99
                }
              },
              {
                "fieldName": "item_count",
                "operator": "isBetween",
                "value": {
                  "range": {
                    "from": 1000,
                    "to": 3000
                  },
                  "type": "range"
                }
              }
            ],
            "id": "00000000-0000-0000-0000-000000000000",
            "locales": [
              {
                "country": "US",
                "currency": "USD",
                "language": "en"
              }
            ],
            "name": "Pin #1 Short Open-Front Sweater for Women/Boost blue surfboards/Hide green t-shirts",
            "updatedAt": "2025-01-01T00:00:00Z",
            "updatedBy": "user@coveo.com"
          }
        ],
        "pinRules": [
          {
            "action": "pin",
            "essential": false,
            "id": "00000000-0000-0000-0000-000000000000",
            "locales": [
              {
                "country": "US",
                "currency": "USD",
                "language": "en"
              }
            ],
            "name": "Pin #1 Short Open-Front Sweater for Women/Boost blue surfboards/Hide green t-shirts",
            "rankByPermanentId": {
              "123456789": 1,
              "987654321": 2
            },
            "updatedAt": "2025-01-01T00:00:00Z",
            "updatedBy": "user@coveo.com"
          }
        ],
        "rankingRules": [
          {
            "action": "boost",
            "essential": false,
            "filters": [
              {
                "fieldName": "price",
                "operator": "isExactly",
                "value": {
                  "type": "decimal",
                  "value": 99.99
                }
              },
              {
                "fieldName": "item_count",
                "operator": "isBetween",
                "value": {
                  "range": {
                    "from": 1000,
                    "to": 3000
                  },
                  "type": "range"
                }
              }
            ],
            "id": "00000000-0000-0000-0000-000000000000",
            "locales": [
              {
                "country": "US",
                "currency": "USD",
                "language": "en"
              }
            ],
            "name": "Pin #1 Short Open-Front Sweater for Women/Boost blue surfboards/Hide green t-shirts",
            "updatedAt": "2025-01-01T00:00:00Z",
            "updatedBy": "user@coveo.com",
            "value": 250
          }
        ]
      },
      "trackingId": "acmecorporation_ca",
      "facetCollectionConfigurationId": "755e2dd8-3a8f-19fb-b9ed-ed89c4f83c3b",
      "id": "644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b",
      "queryConfiguration": {
        "additionalFields": [
          "color",
          "shirtsize"
        ],
        "facets": {
          "enableIndexFacetOrdering": false,
          "facets": [
            null
          ],
          "freezeFacetOrder": false
        },
        "filterFieldRange": 0,
        "perPage": 20,
        "productGrouping": "none",
        "sorts": [
          {
            "fields": [
              {
                "direction": "asc",
                "displayNames": [
                  {
                    "language": "en",
                    "value": "Price"
                  },
                  {
                    "language": "fr",
                    "value": "Prix"
                  }
                ],
                "field": "ec_price"
              }
            ],
            "sortCriteria": "fields"
          }
        ]
      },
      "scope": "specific"
    }
  ],
  "totalEntries": 0,
  "totalPages": 0
}

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

Was this page helpful?