Skip to main content

BaseProductSortField

Available fields for ordering results when searching across products and clusters.

Use together with a sort order argument to control the direction of the ordering.

enum BaseProductSortField {
SKU
TYPE
CREATED_AT
LAST_MODIFIED_AT
}

Values

BaseProductSortField.SKU

Orders results alphabetically by stock keeping unit.

BaseProductSortField.TYPE

Orders results by record type, grouping products and clusters together.

BaseProductSortField.CREATED_AT

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

BaseProductSortField.LAST_MODIFIED_AT

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

Member Of

BaseProductSearchInput input ● CategoryBaseProductsSearchInput input