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 created_at value.
  CREATED_AT

# Sort by the id value. ID

# Sort by the inventory_total value. INVENTORY_TOTAL

# Sort by the product_type value. PRODUCT_TYPE

# Sort by the published_at value. PUBLISHED_AT

# 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.

ID

Sort by the id value.

INVENTORY_TOTAL

Sort by the inventory_total value.

PRODUCT_TYPE

Sort by the product_type value.

PUBLISHED_AT

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

CREATED_AT

Sort by the created_at value.

Sign up for a Partner account to get started.

Sign up