ProductCollectionSortKeys

The set of valid sort keys for the products query.

Show definition

# The set of valid sort keys for the products query.
enum ProductCollectionSortKeys {
  MANUAL
  BEST_SELLING
  TITLE
  PRICE
  CREATED
  COLLECTION_DEFAULT
  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

TITLE

COLLECTION_DEFAULT

CREATED

ID

MANUAL

PRICE

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.

BEST_SELLING

Sign up for a Partner account to get started.

Sign up