Skip to main content
Anchor to ProductVariantSortKeys

ProductVariantSortKeys

enum

The set of valid sort keys for the ProductVariant query.

Sort by the id value.

Sort by the position value.

Sort by relevance to the search terms when the query parameter is specified on the connection. Don't use this sort key when no search query is specified.

Sort by the sku value.

Sort by the title value.


Was this section helpful?

•ARGUMENT

Represents an item listed in a shop's catalog.

Products support multiple product variants, representing different versions of the same product, and can include various media types. Use the selectedOrFirstAvailableVariant or variantBySelectedOptions fields to help customers find the right variant based on their selections.

Products can be organized into collections, associated with selling plans for subscriptions, and extended with custom data through metafields.

Learn more about working with products and collections.


Was this section helpful?