younifyd
Menu

Get All 2

Get All Listing Pages

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

Use it in a workflow

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

filterstring

A filter expressed in JSON logic format.

Response

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

itemsarray<object>

The retrieved page of items.

idstring (uuid)

The unique identifier of the listing page.

namestring

A unique name for the listing configuration.

pageRulesarray<object>required3 fields

List of rules associated to a listing page. Rules are used to determine the page's contents.

patternsarray<object>required1 fields

Possible patterns matching values associated to a listing configuration.

trackingIdstring

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

updatedAtinteger (int64)

The date and time at which the entity was last updated.

totalEntriesinteger (int64)

The total number of results that match the query.

totalPagesinteger (int32)

The total number of pages of items available.

json
{
  "items": [
    {
      "pageRules": [
        {
          "filters": [
            {
              "fieldName": "ec_category_slug",
              "operator": "contains",
              "value": {
                "type": "array",
                "values": [
                  "canoes-kayaks/kayaks/sports-kayaks"
                ]
              }
            }
          ],
          "locales": [
            {
              "country": "US",
              "currency": "USD",
              "language": "en"
            }
          ],
          "name": "Include ec_category_slug contains canoes-kayaks/kayaks/sports-kayaks"
        }
      ],
      "patterns": [
        {
          "url": "https://sports.barca.group/plp/clothing/pants"
        }
      ],
      "id": "533bba27-2a7f-18fb-b8ed-ed99c3f92f5c",
      "name": "ACME Corp Summer Trends",
      "trackingId": "acmecorporation_ca",
      "updatedAt": 0
    }
  ],
  "totalEntries": 0,
  "totalPages": 0
}

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

Was this page helpful?
Get All 2 — Coveo — Documentation