A valid request URL is required to generate request examples{
"facetId": 123,
"source": {
"id": "<string>",
"type": "<string>",
"name": "<string>",
"dataType": "<string>",
"allowsRangeQuery": true
},
"facetType": "<string>",
"order": 123,
"categoryId": 123,
"categoryCode": "<string>",
"valueSortType": "<string>",
"overrideFacetId": 123,
"isHidden": true,
"validity": {
"isValid": true,
"reasonCode": "<string>"
},
"rangeQueries": [
{
"rangeValueStart": "<unknown>",
"rangeValueEnd": "<unknown>"
}
],
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}Adds a new Facet to a category in a catalog.
A valid request URL is required to generate request examples{
"facetId": 123,
"source": {
"id": "<string>",
"type": "<string>",
"name": "<string>",
"dataType": "<string>",
"allowsRangeQuery": true
},
"facetType": "<string>",
"order": 123,
"categoryId": 123,
"categoryCode": "<string>",
"valueSortType": "<string>",
"overrideFacetId": 123,
"isHidden": true,
"validity": {
"isValid": true,
"reasonCode": "<string>"
},
"rangeQueries": [
{
"rangeValueStart": "<unknown>",
"rangeValueEnd": "<unknown>"
}
],
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}JWT Authorization header using the Bearer scheme.
limits which fields are returned in the response body
The definition of a Facet
The unique identifier for the facet definition
Show child attributes
The type of facet. Allowable values are: Value, RangeQuery Must be a valid value for DataType defined in FacetTypeConst.
Used to order the display of the facets within a section
The category that the facet is being configured at
The category that the facet is being configured at
Determines how the facet values will be sorted in the store. Must be a valid value for DataType defined in FacetValueSortTypeConst. Allowable values are: CountAscending, CountDescending, ValuesAscending, ValuesDescending, AttributeDefinition, AttributeDefinitionDescending. The default if no value is specified will be CountDescending.
The ID of a parent category's facet being overriden
Indicates whether the facet is hidden for the given category
Show child attributes
List of ranges if the Facet is of type Range
Show child attributes
Show child attributes
Success
The definition of a Facet
The unique identifier for the facet definition
Show child attributes
The type of facet. Allowable values are: Value, RangeQuery Must be a valid value for DataType defined in FacetTypeConst.
Used to order the display of the facets within a section
The category that the facet is being configured at
The category that the facet is being configured at
Determines how the facet values will be sorted in the store. Must be a valid value for DataType defined in FacetValueSortTypeConst. Allowable values are: CountAscending, CountDescending, ValuesAscending, ValuesDescending, AttributeDefinition, AttributeDefinitionDescending. The default if no value is specified will be CountDescending.
The ID of a parent category's facet being overriden
Indicates whether the facet is hidden for the given category
Show child attributes
List of ranges if the Facet is of type Range
Show child attributes
Show child attributes