younifyd
Menu

Update 3

Update Listing Configuration

PUT/rest/organizations/{organizationId}/commerce/v2/configurations/listings/{configurationId}

Use it in a workflow

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

Request

Path parameters

organizationIdstringrequired

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

configurationIdstring (uuid)required

The unique identifier of the listing configuration.

Request body

Enter the body as JSON in the step's Body field.

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>required

Possible patterns matching values associated to a listing configuration.

urlstringrequired

URL associated to a listing configuration used for pattern matching.

queryConfigurationobject

Query configuration.

additionalFieldsarray<string>

To retrieve [additional fields](https://docs.coveo.com/en/n73f0502#create-additional-commerce-fields) you have created, that aren’t part of the [standard commerce fields](https://docs.coveo.com/en/n73f0502#standard-commerce-fields), specify them here. These fields appear in the `additionalFields` object in the response.

facetsobject3 fields

DEPRECATED ON 2026-08-31: The facet request configuration. See https://docs.coveo.com/en/q3cc0299/deprecations/legacy-commerce-api-facet-management-deprecation for more details on the deprecation.

filterFieldRangeinteger (int32)

Default: `5`<br/>The maximum number of items to include in the childResults array of a folded query result (see SearchAPI's doc for more details).

perPageinteger (int32)

The number of results to include per page.<br/><br/><b>Note:</b> The specified value applies only to parent items, not their grouped children. Query performance may be affected when returned items include many grouped products.

productGroupingstring

The product grouping. Determines if pin rules should consider results to be grouped on the query pipeline, or not.

One ofnonequery_pipeline

sortsarray<oneOf>

Determines the order in which to retrieve the results.

rulesobjectrequired

Rules to apply at query time.

filterRulesarray<object>8 fields

List of the filter rules.

pinRulesarray<object>8 fields

List of the pin rules.

rankingRulesarray<object>9 fields

List of the ranking rules.

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.

json
{
  "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"
}

Response

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

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.

namestring

A unique name for the listing configuration.

patternsarray<object>

Possible patterns matching values associated to a listing configuration.

urlstringrequired

URL associated to a listing configuration used for pattern matching.

queryConfigurationobject

Query configuration.

additionalFieldsarray<string>

To retrieve [additional fields](https://docs.coveo.com/en/n73f0502#create-additional-commerce-fields) you have created, that aren’t part of the [standard commerce fields](https://docs.coveo.com/en/n73f0502#standard-commerce-fields), specify them here. These fields appear in the `additionalFields` object in the response.

facetsobject3 fields

DEPRECATED ON 2026-08-31: The facet request configuration. See https://docs.coveo.com/en/q3cc0299/deprecations/legacy-commerce-api-facet-management-deprecation for more details on the deprecation.

filterFieldRangeinteger (int32)

Default: `5`<br/>The maximum number of items to include in the childResults array of a folded query result (see SearchAPI's doc for more details).

perPageinteger (int32)

The number of results to include per page.<br/><br/><b>Note:</b> The specified value applies only to parent items, not their grouped children. Query performance may be affected when returned items include many grouped products.

productGroupingstring

The product grouping. Determines if pin rules should consider results to be grouped on the query pipeline, or not.

One ofnonequery_pipeline

sortsarray<oneOf>

Determines the order in which to retrieve the results.

rulesobject

Rules to apply at query time.

filterRulesarray<object>8 fields

List of the filter rules.

pinRulesarray<object>8 fields

List of the pin rules.

rankingRulesarray<object>9 fields

List of the ranking rules.

scopestring

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

One ofglobalspecific

trackingIdstring

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

json
{
  "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"
}

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

Was this page helpful?