ProductSortKeys enum

The set of valid sort keys for the products query.

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.

The set of valid sort keys for the products query.

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.

The set of valid sort keys for the products query.

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