younifyd
Menu

Update Global Query Configuration

Update a global query configuration

PUT/rest/organizations/{organizationId}/commerce/v2/recommendations/slots/global/query-configuration

Use it in a workflow

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

Request body

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

additionalFieldsarray<string>required

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.

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.

json
{
  "additionalFields": [
    "color",
    "shirtsize"
  ],
  "perPage": 20
}

Response

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

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.

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.

json
{
  "additionalFields": [
    "color",
    "shirtsize"
  ],
  "perPage": 20
}

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

Update Global Query Configuration — Coveo — Documentation