Menu
Get All Fields
Get all Fields
GET
/v2/fieldsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get All Fields action (under Flows).
- Fill in the fields below, then reference the result from later steps as
{{getAllFields.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAllFields.response.data.<field>}}.
{
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "string",
"field_type": "string",
"slug": "string",
"name": "string",
"description": "string",
"required": false,
"default": false,
"enabled": false,
"order": 0,
"omit_null": false,
"validation_rules": [
{
"type": "enum",
"options": null,
"to": "customer"
}
]
}
]
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?