Sort document (Data API 18.1)
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.