CustomerSortKeys

The set of valid sort keys for the customers query.

Show definition
# The set of valid sort keys for the customers query.
enum CustomerSortKeys {
  NAME
  LOCATION
  ORDERS_COUNT
  LAST_ORDER_DATE
  TOTAL_SPENT
  UPDATED_AT
  ID

  # During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the
  # results by relevance to the search term(s). When no search query is specified, this sort key is not
  # deterministic and should not be used.
  RELEVANCE
}

Values

UPDATED_AT

LAST_ORDER_DATE

LOCATION

NAME

ORDERS_COUNT

RELEVANCE

During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.

TOTAL_SPENT

ID