Sort document (Data API 23.2)

Document representing a sort request.

Property Type Constraints Description
field String mandatory=true, nullable=false The name of the field to sort on.
sort_order Enum {asc, desc}   The sort order to be applied when sorting. When omitted, the default sort order (ASC) is used.
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.