Skip to content

productSortOrders

Queryin Catalog

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

[ProductSortOrderType!]!

Example

query ProductSortOrders {
productSortOrders
}

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/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccResolved

Used by

The storefront packages that send it, in these GraphQL documents: