Skip to main content

Sorting

Sorting is handled similarly across different resources. Pass query parameters to sort lists.

There are two sorting values:

  • sort: sort results by a result in the response value. Not all response values are supported. Supported values are listed in each endpoint reference description.
  • sortDirection: order the results by increasing (ASC) or decreasing values (DESC). Supported values:
    • ASC
    • DESC

If no sorting values are provided, createdDate + DESC are used.

If a value is passed for sort, the default direction becomes ASC.