Create filter template attributeAsk AIpost https://navigator-api.tweakwise.com/filtertemplate/{filterTemplateId}/attributePath ParamsfilterTemplateIdint64requiredId of the filter template to add attribute toBody ParamsFilter template attribute api model that will be addedFilterTemplateIdint64Id of the filter template the attribute belongs toAttributeIdint64Id of the attributeNamestringThe text that is shown above the filterCollapsiblebooleanIs the attribute collapsibletruefalseCollapsedbooleanIs the attribute collapsed by defaulttruefalseNumberOfValuesint32Number of values to showShowMoreTextstringText for show moreShowLessTextstringText for show lessIsMultipleChoicebooleanIs multiple choice, in case of 'DisplayFilter' being 'checkbox' or 'color'truefalseLogicstringenumOptional logic in case of 'DisplayFilter' being 'checkbox' or 'color'.ORANDAllowed:ORANDDisplayFilterstringenumDisplay type of the filter.LinkSliderCheckboxColorTreeClickpointBucketSliderAllowed:LinkSliderCheckboxColorTreeClickpointBucketSliderNumberOfColumnsint32The number of columnsShowNumberOfProductsbooleanShow the number of products that remains after the value has been selectedtruefalseShowIconbooleanEnclose a tag that can be replaced by an image in the front-end applicationtruefalseSequenceint32Sequence of the attribute, if left empty it will be automatically assignedSortingOfValuesstringenumThe order in which the values of this filter are sorted. By using manual sorting, it is even possible to determine the orderStandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalAllowed:StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalManualSortingValuesarray of stringsOrdered list of values when 'SortingOfValues' is set to 'manual'ManualSortingValuesADD stringManualBackupSortingstringenumBackup sorting method of remaining values when 'SortingOfValues' is set to 'manual'StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalAllowed:StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalAlternativeSortingstringenumSorting of values when the filter is expandedStandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalAllowed:StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalManualAlternativeSortingValuesarray of stringsOrdered list of values when 'AlternativeSorting' is set to 'manual'ManualAlternativeSortingValuesADD stringManualBackupAlternativeSortingstringenumBackup sorting method of remaining values when 'AlternativeSorting' is set to 'manual'StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalAllowed:StandardProductAmountAlphabeticAlphabeticReversedDerivedManualNumericalShowExplanationbooleanShow explanation/help text for the filter.truefalseExplanationstringThe explanation text to showShowFilterbooleanToggle show filtertruefalseShowFilterPercentageThresholdint32If 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%PrefixstringPrefixSuffixstringSuffixMinDepthint32Min depth for category or tree (Attribute source type)MaxDepthint32Max depth for category or tree (Attribute source type)ShowSelectedFirstbooleanWhen a value has been selected, this appears at the top of the list, irrespective of the selected sortingtruefalseCssClassstringCustom css classHideFilterOnlyOneOptionbooleanHide filter when there is only one option available.truefalseIsClickPointbooleanIs Clickpoint toggletruefalseClickpointListarray of doublesList of clickpoints for when DisplayFilter is set to 'ClickpointBucketSlider' and IsClickPoint is true.ClickpointListADD doubleIsBucketbooleanIs bucket toggletruefalseBucketAmountint32Amount of buckets for when DisplayFilter is set to 'ClickpointBucketSlider' and IsBucket is true.BucketStepSizeint32Minimal bucket step size for when DisplayFilter is set to 'ClickpointBucketSlider' and IsBucket is true.SortAutomaticFilterTemplatebooleanAutomatically determine where the filter is placed on the filter template based on usage.truefalseSortAutomaticFilterValuesbooleanAutomatically sort the filter values based on usage. If there is not enough data, the ‘sorting the values’ selected below is used.truefalseIsSearchablebooleanShow the search in attributes listtruefalseSearchPlaceholderstringThe text that is shown in the search fieldSearchNoResultsTextstringThe text that is shown when there are no resultsNameTranslationsarray of objectsTranslations for the nameNameTranslationsADD objectShowMoreTextTranslationsarray of objectsTranslations for the show more textShowMoreTextTranslationsADD objectShowLessTextTranslationsarray of objectsTranslations for the show less textShowLessTextTranslationsADD objectExplanationTranslationsarray of objectsTranslations for the explenation textExplanationTranslationsADD objectSearchPlaceholderTranslationsarray of objectsTranslations for the placeholder textSearchPlaceholderTranslationsADD objectSearchNoResultsTextTranslationsarray of objectsTranslations for the no results textSearchNoResultsTextTranslationsADD objectPrefixTranslationsarray of objectsTranslations for the prefix textPrefixTranslationsADD objectSuffixTranslationsarray of objectsTranslations for the suffix textSuffixTranslationsADD objectHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/jsonAllowed:application/jsontext/jsonResponses 200The id of the added attribute 400BadRequestUpdated 7 months ago