ProductVariantSortKeys

The set of valid sort keys for the variants query.

Show definition

# The set of valid sort keys for the variants query.
enum ProductVariantSortKeys {
  # Sort by the title value.
  TITLE

# Sort by the sku value. SKU

# Sort by the position value. POSITION

# Sort by the id value. 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

ID

Sort by the id value.

POSITION

Sort by the position 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.

SKU

Sort by the sku value.

TITLE

Sort by the title value.

Sign up for a Partner account to get started.

Sign up