Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (8 loc) · 814 Bytes

SearchOrdersSort.md

File metadata and controls

15 lines (8 loc) · 814 Bytes

SearchOrdersSort

Description

Sorting options for a query. Returned Orders will always be sorted on a timestamp.

Properties

Name Type Description Notes
sortField String The field to sort by. Important: When using a DateTimeFilter, `sort_field` must match the set time range field. If this field does not match the time range field in `DateTimeFilter`, SearchOrder will return an error. Default: `CREATED_AT`. See SearchOrdersSortField for possible values
sortOrder String The order in which results are returned. Defaults to `DESC`. See SortOrder for possible values [optional]