Menu
Get All Variations
Get all variations
GET
/pcm/variationsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get All Variations action (under PIM).
- Fill in the fields below, then reference the result from later steps as
{{getAllVariations.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAllVariations.response.data.<field>}}.
{
"data": [
{
"id": "string",
"type": "product-variation",
"attributes": {
"name": "string",
"sort_order": 0
},
"meta": {
"options": [
{
"id": "string",
"name": "string",
"description": "string",
"created_at": "2020-09-22T09:00:00.000Z",
"updated_at": "2020-09-22T09:00:00.000Z",
"sort_order": 0,
"modifiers": [
null
]
}
],
"owner": "organization",
"created_at": "2020-09-22T09:00:00.000Z",
"updated_at": "2020-09-22T09:00:00.000Z"
}
}
],
"links": {
"current": "/pcm/hierarchies?page[offset]=10&page[limit]=10",
"first": "/pcm/hierarchies?page[offset]=0&page[limit]=10",
"last": "/pcm/hierarchies?page[offset]=20&page[limit]=10",
"next": "/pcm/hierarchies?page[offset]=10&page[limit]=10",
"prev": "/pcm/hierarchies?page[offset]=8&page[limit]=10"
},
"meta": {
"results": {
"total": 3
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?