← All types
In Input object

WarehouseLocationSortInput

One ordering rule for listWarehouseLocations. Only the first rule of the list is currently applied.

Fields

Location attribute to order by.

Possible values (3)
NAME

Order by the location's name, compared as text by the database; the location's TypeID breaks ties. Ignores sortOrder, which only hints at display order among siblings.

LOCATION_TYPE

Order by the stored location-type value, which groups the page by kind alphabetically (AISLE, BIN, GOODS_IN, …) rather than by depth in the storage hierarchy.

CREATED_AT

Order by when the location record was created. This is what the query falls back to when no sort is given, paired with DESC — newest first.

Order to apply to the chosen field: ascending or descending.

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
"""
One ordering rule for listWarehouseLocations. Only the first rule of the list is currently applied.
"""
input WarehouseLocationSortInput {
  """Location attribute to order by."""
  field: WarehouseLocationSortField!
  """Order to apply to the chosen field: ascending or descending."""
  direction: SortDirection!
}