younifyd
Menu

Retrieve variation

Retrieve variation

GET/v2/variations/{variation_id}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve variation action (under Variations).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveVariation.response.data}}.

Request

Path parameters

variation_idstringrequired

Query parameters

sectionstring

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

Response

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

idstring

The ID of the variation, must be unique.

item_idstring

The ID of the item this variation is attached to.

namestring

The name of the variation, as it will appear in the results. Contains at least one alphanumeric character.

suggested_scoreinteger

A number that will influence the variation's initial ranking relative to other variation scores (the higher the score, the higher in the list of suggestions the variation will appear).

dataany

Object containing additional data attached to this variation.

updated_atstring (date-time)

A date when the variation was updated.

json
{
  "id": "string",
  "item_id": "string",
  "updated_at": "2025-01-01T00:00:00Z",
  "name": "string",
  "suggested_score": 0,
  "data": null
}

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