younifyd
Menu

Create synonym group

Create synonym group

POST/v1/synonym_groups

Use it in a workflow

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

Request

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 200 with an object. Read it in later steps with {{createSynonymGroup.response.data.<field>}}.

group_idinteger
json
{
  "group_id": 0
}

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