Skip to main content
Anchor to ProductCollectionSortKeys

ProductCollectionSortKeys

enum

The set of valid sort keys for the ProductCollection query.

•

Sort by the best-selling value.

•

Sort by the collection-default value.

•

Sort by the created value.

•

Sort by the id value.

•

Sort by the manual value.

•

Sort by the price value.

•

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.

•

Sort by the title value.


Was this section helpful?

•ARGUMENT

Sort the underlying list by the given key.


Was this section helpful?