younifyd
Menu

Update 2

Update a product suggest configuration

PUT/rest/organizations/{organizationId}/commerce/v2/configurations/productSuggest

Use it in a workflow

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

Tracking ID of the product suggest configuration

Request body

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

idstring (uuid)

The unique identifier of the search configuration.

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.

trackingIdstringrequired

The unique identifier of the tracking target.

json
{
  "trackingId": "acmecorporation_ca",
  "id": "755e2dd8-3a8f-19fb-b9ed-ed89c4f83c3b",
  "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"
      }
    ]
  }
}

Response

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

idstring (uuid)

The unique identifier of the search configuration.

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.

trackingIdstring

The unique identifier of the tracking target.

json
{
  "trackingId": "acmecorporation_ca",
  "id": "755e2dd8-3a8f-19fb-b9ed-ed89c4f83c3b",
  "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"
      }
    ]
  }
}

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

Was this page helpful?