ProductSortKey
The set of valid sort keys for product listings. This enum defines the available sorting options when retrieving product collections or search results.
Enum Definition
enum ProductSortKey {
TITLE
PRICE
CREATED
UPDATED
RATING
MODEL_NUMBER
BEST_SELLING
LAST_SOLD
}Values
Example
query {
products(sortKey: BEST_SELLING, limit: 10) {
id
title
price
rating
}
}Related Types
No related types specified.