productSortOrders
The sort orders productSearch applies in this deployment, so a storefront offers only those. A search engine that cannot order by a field answers with its own ranking instead, which would look like a sort that does nothing. RELEVANCE is offered everywhere; POPULARITY only where the engine ranks by review rating.
Returns
Example
query ProductSortOrders { productSortOrders}{ "data": { "productSortOrders": [ "RELEVANCE" ] }}The query selects the return type's fields two levels deep; pick the ones you need. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Resolved |
| @evolve-framework/sfcc | Resolved |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-product:
ProductListingProducts

