GraphQL Schema Updates

The Storefront GraphQL schema exposes the default product sort order used on search listings.

Storefront GraphQL

  • Default search sort: new defaultSearchProductSort field on the Search type returns the sort order applied to search product listings by default, backed by the new SearchProductsSort enum (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.