Menu
Create or replace sort options
Create or replace sort options
PUT
/v1/sort_optionsUse it in a workflow
- Add a step and choose the Constructor connector.
- Pick the Create or replace sort options action (under Sort Options).
- Fill in the fields below, then reference the result from later steps as
{{createOrReplaceSortOptions.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"sort_options": [
{
"path_in_metadata": "string",
"sort_by": "string",
"sort_order": null,
"display_name": "string",
"position": 0,
"hidden": false
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{createOrReplaceSortOptions.response.data.<field>}}.
{
"sort_options": [
{
"display_name": "string",
"path_in_metadata": "string",
"sort_by": "string",
"sort_order": null,
"position": 0,
"hidden": false
}
]
}
Need more? See the Constructor guide for connection setup and behaviour shared by every action.
Was this page helpful?