Skip to main content
Anchor to ProductVariantSortKeys

ProductVariantSortKeys

enum

The set of valid sort keys for the ProductVariant query.

Sort by the full_title value.

Sort by the id value.

Anchor to INVENTORY_LEVELS_AVAILABLEINVENTORY_LEVELS_AVAILABLE

Sort by available inventory quantity in the location specified by the query:"location_id:" argument. Don't use this sort key when no location_id in query is specified.

Anchor to INVENTORY_MANAGEMENTINVENTORY_MANAGEMENT

Sort by the inventory_management value.

Sort by the inventory_policy value.

Sort by the inventory_quantity value.

Sort by the name value.

Sort by the popular 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

The Product object lets you manage products in a merchant’s store.

Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use product variants to create or update different versions of the same product. You can also add or update product media. Products can be organized by grouping them into a collection.

Learn more about working with Shopify's product model, including limitations and considerations.

•ARGUMENT

Represents a collection of general settings and information about the shop.

•ARGUMENT

The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.


Was this section helpful?