younifyd
Menu

Update synonym group

Update synonym group

PUT/v1/synonym_groups/{group_id}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Update synonym group action (under Synonym Groups).
  3. Fill in the fields below, then reference the result from later steps as {{updateSynonymGroup.response.data}}.

Request

Path parameters

group_idinteger (int32)required

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

Request body

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

synonymsarray<string>required

Array of synonyms you want to set

json
{
  "synonyms": [
    "string"
  ]
}

Response

Returns 204 with a any. Read it in later steps with {{updateSynonymGroup.response.data.<field>}}.

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