The field to sort by.
Important: When using a DateTimeFilter,
sort_field
must match the timestamp field that the DateTimeFilter
uses to
filter. For example, if you set your sort_field
to CLOSED_AT
and you use a
DateTimeFilter
, your DateTimeFilter
must filter for orders by their CLOSED_AT
date.
If this field does not match the timestamp field in DateTimeFilter
,
SearchOrders
returns an error.
Default: CREATED_AT
.