Admin API / Types
CollectionItemSortField
EnumOrder keys for a collection's listings. Six values share their name with ProductSortField; RANDOM and TRENDING are storefront-only. Additional values may be added; treat an unknown value as CREATED_AT.
enum CollectionItemSortFieldValues
AUCTION_END_TIME: Time the listing's current auction ends.BOOKMARK_COUNT: The number of buyer bookmarks.CREATED_AT: Time the listing was created.NAME: Listing title, alphabetical.PRICE: Lowest price.RANDOM: A shuffled order.TRENDING: View count, weighted toward listings created in the last 30 days.VIEW_COUNT: Total views.