Criteria Input
Input representation of the filter criteria item request.
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
attributeType | String | Search attribute type of the facet for a faceted search. Valid values are ProductStandard, ProductCustom, ProductDynamicAttribute, ProductAttributeStandard, or ProductAttributeCustom. This property is applicable if the Use Indexed Data For Product Listing and Search toggle from the Product Discovery Settings page from Setup is enabled. | Optional | 63.0 |
criteriaType | String | Type of criteria for the filter. Valid value is CustomWhereCondition. | Required | 60.0 |
operator | String | Operator used for the filter criteria. | Required | 60.0 |
property | String | Property name to use in the filter, which must be the same as the object field. | Required | 60.0 |
value | Object | Value for the filter criteria. | Required | 60.0 |
The supported operators are:
eqincontains—This value isn’t applicable if the Use Indexed Data For Product Listing and Search toggle from the Product Discovery Settings page from Setup is enabled.gt—Specifies a greater than criteria. Available from API version 63.0 and later for Number, Date, and Datetime data types only.lt—Specifies a less than criteria. Available from API version 63.0 and later for Number, Date, and Datetime data types only.gte—Specifies a greater than or equal to criteria. Available from API version 63.0 and later for Number, Date, and Datetime data types only.lte—Specifies a less than or equal to criteria. Available from API version 63.0 and later for Number, Date, and Datetime data types only.