ProductSortInput
Sorting criteria for product search results.
Defines how product search results should be ordered by specifying a sortable field and the sort direction. Used to control the presentation order of products in search results and listings.
input ProductSortInput {
field: ProductSortField!
order: SortOrder
}
Fields
ProductSortInput.field ● ProductSortField! non-null enum
Product field to sort by.
Specifies which product attribute should be used for sorting the search results. Available fields include name, price, creation date, and other sortable product properties.
ProductSortInput.order ● SortOrder enum
Sort direction for the specified field.
Determines whether results are sorted in ascending ('ASC') or descending ('DESC') order. When not specified, the default sort order for the field is used.
Member Of
CategoryProductSearchInput input ● ProductSearchInput input ● SparePartsMachineProductSearchInput input