Enums

SortType

Sort types

Sort types

enum SortType {
  NONE
  PRICE
  PRICE_DESC
  MOST_SOLD
  VOTES
  BRAND
  LATEST
  RELEVANCE
  FACET_ORDER
  ALPHABETICAL
  ALPHABETICAL_DESC
  CUSTOM_1
  CUSTOM_2
  CUSTOM_3
  CUSTOM_4
  CUSTOM_5
  AVAILABLE_STOCK
  AVAILABLE_STOCK_DESC
  TOTAL_STOCK
  TOTAL_STOCK_DESC
}

Values

NONE

No sorting

PRICE

Sort by price

PRICE_DESC

Sort by price, in descending order

MOST_SOLD

Sort by most sold

VOTES

Sort by votes

BRAND

Sort by brand

LATEST

Sort by latest products

RELEVANCE

Sort by relevance

FACET_ORDER

Sort by facets

ALPHABETICAL

Sort by alphabetical

ALPHABETICAL_DESC

Sort by alphabetical, in descending order

CUSTOM_1

Sort by custom value 1

CUSTOM_2

Sort by custom value 2

CUSTOM_3

Sort by custom value 3

CUSTOM_4

Sort by custom value 4

CUSTOM_5

Sort by custom value 5

AVAILABLE_STOCK

Sort by available stock balance

AVAILABLE_STOCK_DESC

Sort by available stock balance, in descending order

TOTAL_STOCK

Sort by total stock balance, including oversellable

TOTAL_STOCK_DESC

Sort by total stock balance, including oversellable, in descending order

Member Of

FilterInputType input