← All types
Sales & CRMIn Input object

OrderSortInput

Sort input for order queries

Fields

Field to sort by

Possible values (5)
ORDER_NUMBER

Sort by order number

STATUS

Sort by status

ORDER_DATE

Sort by order date

TOTAL_AMOUNT

Sort by total amount

CREATED_AT

Sort by creation date

Sort direction

Possible values (2)
ASC

Sort in ascending order (A-Z, oldest first)

DESC

Sort in descending order (Z-A, newest first)

Referenced by (1)
Exact type SDL
"""Sort input for order queries"""
input OrderSortInput {
  """Field to sort by"""
  field: OrderSortField!
  """Sort direction"""
  direction: SortDirection!
}