GraphQL Schema Updates
The Storefront GraphQL schema exposes the default product sort order used on search listings.
Storefront GraphQL
- Default search sort: new
defaultSearchProductSortfield on theSearchtype returns the sort order applied to search product listings by default, backed by the newSearchProductsSortenum (A_TO_Z,BEST_REVIEWED,BEST_SELLING,FEATURED,HIGHEST_PRICE,LOWEST_PRICE,NEWEST,RELEVANCE,Z_TO_A)
For schema details, browse the Storefront GraphQL API reference.