Create filter template attribute

Path Params
int64
required

Id of the filter template to add attribute to

Body Params

Filter template attribute api model that will be added

int64

Id of the filter template the attribute belongs to

int64

Id of the attribute

string

The text that is shown above the filter

boolean

Is the attribute collapsible

boolean

Is the attribute collapsed by default

int32

Number of values to show

string

Text for show more

string

Text for show less

boolean

Is multiple choice, in case of 'DisplayFilter' being 'checkbox' or 'color'

string
enum

Optional logic in case of 'DisplayFilter' being 'checkbox' or 'color'.

Allowed:
string
enum

Display type of the filter.

Allowed:
int32

The number of columns

boolean

Show the number of products that remains after the value has been selected

boolean

Enclose a tag that can be replaced by an image in the front-end application

int32

Sequence of the attribute, if left empty it will be automatically assigned

string
enum

The order in which the values of this filter are sorted. By using manual sorting, it is even possible to determine the order

Allowed:
ManualSortingValues
array of strings

Ordered list of values when 'SortingOfValues' is set to 'manual'

ManualSortingValues
string
enum

Backup sorting method of remaining values when 'SortingOfValues' is set to 'manual'

Allowed:
string
enum

Sorting of values when the filter is expanded

Allowed:
ManualAlternativeSortingValues
array of strings

Ordered list of values when 'AlternativeSorting' is set to 'manual'

ManualAlternativeSortingValues
string
enum

Backup sorting method of remaining values when 'AlternativeSorting' is set to 'manual'

Allowed:
boolean

Show explanation/help text for the filter.

string

The explanation text to show

boolean

Toggle show filter

int32

If supplied, show filter only when at least the given percentage is achieved for the property 'ae-price'. Between 5 and 100 in increments of 5%

string

Prefix

string

Suffix

int32

Min depth for category or tree (Attribute source type)

int32

Max depth for category or tree (Attribute source type)

boolean

When a value has been selected, this appears at the top of the list, irrespective of the selected sorting

string

Custom css class

boolean

Hide filter when there is only one option available.

boolean

Is Clickpoint toggle

ClickpointList
array of doubles

List of clickpoints for when DisplayFilter is set to 'ClickpointBucketSlider' and IsClickPoint is true.

ClickpointList
boolean

Is bucket toggle

int32

Amount of buckets for when DisplayFilter is set to 'ClickpointBucketSlider' and IsBucket is true.

int32

Minimal bucket step size for when DisplayFilter is set to 'ClickpointBucketSlider' and IsBucket is true.

boolean

Automatically determine where the filter is placed on the filter template based on usage.

boolean

Automatically sort the filter values based on usage. If there is not enough data, the ‘sorting the values’ selected below is used.

boolean

Show the search in attributes list

string

The text that is shown in the search field

string

The text that is shown when there are no results

NameTranslations
array of objects

Translations for the name

NameTranslations
ShowMoreTextTranslations
array of objects

Translations for the show more text

ShowMoreTextTranslations
ShowLessTextTranslations
array of objects

Translations for the show less text

ShowLessTextTranslations
ExplanationTranslations
array of objects

Translations for the explenation text

ExplanationTranslations
SearchPlaceholderTranslations
array of objects

Translations for the placeholder text

SearchPlaceholderTranslations
SearchNoResultsTextTranslations
array of objects

Translations for the no results text

SearchNoResultsTextTranslations
PrefixTranslations
array of objects

Translations for the prefix text

PrefixTranslations
SuffixTranslations
array of objects

Translations for the suffix text

SuffixTranslations
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json