ProductSortKey
The set of valid sort keys for product listings. This enum defines the available sorting options when retrieving product collections.
Enum Definition
enum ProductSortKey {
TITLE
PRICE
CREATED
UPDATED
RATING
MODEL_NUMBER
}Values
Example
query {
products(sortKey: PRICE, first: 10) {
edges {
node {
id
title
price
}
}
}
}