Alokai

ProductAttributeSortInput

Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option

type ProductAttributeSortInput = {
  name?: InputMaybe<SortEnum>; /** Sort by the position assigned to each product. */
  position?: InputMaybe<SortEnum>; /** Attribute label: Price */
  price?: InputMaybe<SortEnum>; /** Sort by the search relevance score (default). */
  relevance?: InputMaybe<SortEnum>;
};

Referenced Types

On this page