stack

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

AdminTypes.CollectionSortKeys enum

The set of valid sort keys for the Collection query.

Signature:

export declare enum CollectionSortKeys 

Enumeration Members

Member Value Description
Id "ID" Sort by the id 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.
Title "TITLE" Sort by the title value.
UpdatedAt "UPDATED_AT" Sort by the updated_at value.