← All types
Materials & logisticsIn Input object

WarehouseTransferSortInput

Sort input for warehouse transfer queries. Only the first entry supplied is applied.

Fields

Field to sort transfers by.

Possible values (4)
STATUS

Order by the stored status value, which groups the page by lifecycle state alphabetically (APPROVED, CANCELLED, COMPLETED, IN_PROGRESS, REQUESTED) rather than in workflow order.

REASON

Order by the stored movement-reason value, grouping the page by why stock moved (ADJUSTED, DAMAGED, ISSUED_TO_PRODUCTION, …) alphabetically.

REQUESTED_AT

Order by requestedAt — when the move was asked for. This can differ from CREATED_AT, because a caller may supply an explicit requested timestamp when back-filling a transfer.

CREATED_AT

Order by when the transfer row itself was written. This is what the query falls back to when no sort is given, paired with DESC (newest first).

Sort direction (ASC or DESC).

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 warehouse transfer queries. Only the first entry supplied is applied.
"""
input WarehouseTransferSortInput {
  """Field to sort transfers by."""
  field: WarehouseTransferSortField!
  """Sort direction (ASC or DESC)."""
  direction: SortDirection!
}