Skip to main content

ProductSortField

Fields available for sorting

enum ProductSortField {
SKU
SUPPLIER_CODE
CREATED_AT
LAST_MODIFIED_AT
NAME
SHORT_NAME
PRICE
RELEVANCE
CATEGORY_ORDER
PRIORITY
}

Values

ProductSortField.SKU

Orders results alphabetically by stock keeping unit.

ProductSortField.SUPPLIER_CODE

Orders results alphabetically by supplier product code.

ProductSortField.CREATED_AT

Orders results by the date the product was created in the catalogue.

ProductSortField.LAST_MODIFIED_AT

Orders results by the date the product was last modified in the catalogue.

ProductSortField.NAME

Orders results alphabetically by product name.

ProductSortField.SHORT_NAME

Orders results alphabetically by short product name.

ProductSortField.PRICE

Orders results numerically by product price.

ProductSortField.RELEVANCE

Orders results by search relevance score, with the best matches first.

ProductSortField.CATEGORY_ORDER

Orders results by the merchandiser-controlled display order within the category.

ProductSortField.PRIORITY

Orders results by the product priority value used for surfacing in merchandising.

Member Of

ProductSearchSortInput input ● ProductSortInput input