Anchor to ProductCollectionSortKeysProduct
ProductCollectionSortKeys
enum
The set of valid sort keys for the ProductCollection query.
Anchor to Valid valuesValid values
- Anchor to BEST_SELLINGBEST_SELLING•
Sort by the
best-selling
value.- Anchor to COLLECTION_DEFAULTCOLLECTION_DEFAULT•
Sort by the
collection-default
value.- Anchor to CREATEDCREATED•
Sort by the
created
value.- •
Sort by the
id
value.- Anchor to MANUALMANUAL•
Sort by the
manual
value.- Anchor to PRICEPRICE•
Sort by the
price
value.- Anchor to RELEVANCERELEVANCE•
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.- Anchor to TITLETITLE•
Sort by the
title
value.
Was this section helpful?
Anchor to FieldsFields
- •ARGUMENT
Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Was this section helpful?