SortingRuleStep document (Data API 23.2)
(supports custom properties)
Document representing a product sorting rule step
Property | Type | Constraints | Description |
---|---|---|---|
attribute_id |
String | the id for sorting attribute. | |
direction |
Enum {asc, desc} | the direction of the sorting attribute | |
is_system |
boolean | whether or not the attribute is a system attribute. | |
position |
Integer | the position of product sorting rule step. | |
text_relevance_included |
boolean | The text relevance included. | |
type_id |
String | the sorting type for sorting attribute. |
X
OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.