Sort document (Data API 18.3)

Document representing a sort request.

Property Type Constraints Description
field String nullable=false The name of the field to sort on.
sort_order Enum {asc, desc} nullable=false 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.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.