Skip to main content
Log inSign up
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

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENT

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•
ARGUMENTDeprecated

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.


Was this section helpful?