Menu
Create or replace variations
Create or replace variations
PUT
/v2/variationsUse it in a workflow
- Add a step and choose the Constructor connector.
- Pick the Create or replace variations action (under Variations).
- Fill in the fields below, then reference the result from later steps as
{{createOrReplaceVariations.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"variations": [
{
"id": "string",
"item_id": "string",
"name": "string",
"suggested_score": 0,
"data": null
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{createOrReplaceVariations.response.data.<field>}}.
{
"task_id": 0,
"task_status_path": "string"
}
Need more? See the Constructor guide for connection setup and behaviour shared by every action.
Was this page helpful?