SortingRuleStep document (Data API 19.1)

(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.