Added MOST_RELEVANT value for `CollectionSortOrder`
Source: Shopify Dev Changelog
Shopify Adds MOST_RELEVANT Sort Option to CollectionSortOrder Enum
Shopify has added a new MOST_RELEVANT value to the CollectionSortOrder enum in the GraphQL Admin API, available starting with API version 2026-07.
What Changed
The GraphQL Admin API now supports MOST_RELEVANT as a sorting option for product collections. This value joins existing sort options like BEST_SELLING, CREATED, MANUAL, and PRICE in the CollectionSortOrder enum. Developers can access this new sorting method through the Admin API when working with collection queries and mutations.
Impact for App Developers
Apps that manage product collections or provide merchandising tools need to account for this new sort option. The MOST_RELEVANT value allows Shopify’s algorithm to determine product order based on relevance factors, giving merchants another automated sorting method beyond manual curation or sales-based ordering.
Developers building collection management interfaces should update their sort option dropdowns and validation logic to include this new value. Apps that read collection configurations will encounter this sort order when merchants select it in their stores.
Implementation Considerations
The new sort value only appears in API version 2026-07 and later. Apps using earlier API versions will not see or be able to set this option. Developers should review their API version strategy and update accordingly if they want to support relevance-based sorting.
Apps that handle collection sorting should test how the MOST_RELEVANT option behaves compared to other automated sort methods to properly communicate its function to merchant users.
Stay in the loop
Get Shopify ecosystem news and positioning insights for app founders.