Available sorting keys for ProductCollection queries.
Values
PRICE
Ascending order by price value.
TITLE
Ascending order by title value.
BEST_SELLING
Ascending order by best-selling value.
COLLECTION_DEFAULT
Ascending order by collection-default value.
CREATED
Ascending order by created value.
CUSTOM
Ascending order by manual value.
ID
Ascending order 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?