ProductSortKeys

The set of valid sort keys for the products query.

Show definition

# The set of valid sort keys for the products query.
enum ProductSortKeys {
  # Sort by the best_selling value.
  BEST_SELLING

# Sort by the created_at value. CREATED_AT

# Sort by the id value. ID

# Sort by the price value. PRICE

# Sort by the product_type value. PRODUCT_TYPE

# 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

# Sort by the title value. TITLE

# Sort by the updated_at value. UPDATED_AT

# Sort by the vendor value. VENDOR }

Values

VENDOR

Sort by the vendor value.

CREATED_AT

Sort by the created_at value.

ID

Sort by the id value.

PRICE

Sort by the price value.

PRODUCT_TYPE

Sort by the product_type value.

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.

TITLE

Sort by the title value.

UPDATED_AT

Sort by the updated_at value.

BEST_SELLING

Sort by the best_selling value.

Sign up for a Partner account to get started.

Sign up