Salesforce B2C Commerce 23.6 > Open Commerce API 23.2 > Data API documents 23.2

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