stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerSortKeys

AdminTypes.CustomerSortKeys enum

The set of valid sort keys for the Customer query.

Signature:

export declare enum CustomerSortKeys 

Enumeration Members

Member Value Description
CreatedAt "CREATED_AT" Sort by the created_at value.
Id "ID" Sort by the id value.
LastOrderDate "LAST_ORDER_DATE" Sort by the last_order_date value.
Location "LOCATION" Sort by the location value.
Name "NAME" Sort by the name value.
OrdersCount "ORDERS_COUNT" Sort by the orders_count value.
Relevance "RELEVANCE" Sort by relevance to the search terms when the query parameter is specified on the connection. Don’t use this sort key when no search query is specified.
TotalSpent "TOTAL_SPENT" Sort by the total_spent value.
UpdatedAt "UPDATED_AT" Sort by the updated_at value.