presets
Upserts a preset.
Create or update an existing preset.
put/presets/{presetId}
Path parameters
presetIdstring required
The name of the preset set to upsert.
Request body
Example request
{
"value": {
"filter_by": "num_employees:>100 && country: [USA, UK]",
"sort_by": "num_employees:desc",
"synonym_sets": "synonym_set_1,synonym_set_2"
}
}Response
Preset successfully upserted.
Example response
{
"value": {
"filter_by": "num_employees:>100 && country: [USA, UK]",
"sort_by": "num_employees:desc",
"synonym_sets": "synonym_set_1,synonym_set_2"
}
}