← API reference
CANONICAL TYPE REFERENCE

WarehouseLocationSortField

Location attribute that listWarehouseLocations can be ordered by.

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.

View exact SDL
"""Location attribute that listWarehouseLocations can be ordered by."""
enum WarehouseLocationSortField {
  """
  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.
  """
  NAME
  """
  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.
  """
  LOCATION_TYPE
  """
  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.
  """
  CREATED_AT
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.