The set of valid sort keys for the ProductCollection query.
Values
PRICE
Sorted by price value.
TITLE
Sorted by title value.
UPDATED_AT
Sort by updated_at value.
BEST_SELLING
Sort by the best-selling value.
COLLECTION_DEFAULT
Sort by the collection-default value.
CREATED_AT
Sort by the created_at value.
CUSTOM
Sort by the custom value.
ID
Sort by id value.
Status and error codes
For detailed information about common codes, see Status and error codes.
Map
Argument from
ProductCollectionSortKeys
Was this article helpful to you?