ProductOrderField Enum
enum ProductOrderField {
NAME
RANK
PRICE
MINIMAL_PRICE
LAST_MODIFIED @deprecated(reason: "Use `LAST_MODIFIED_AT` instead.")
DATE @deprecated(reason: "Use `LAST_MODIFIED_AT` instead.")
TYPE
PUBLISHED
PUBLICATION_DATE @deprecated(reason: "Use `PUBLISHED_AT` instead.")
PUBLISHED_AT
LAST_MODIFIED_AT
COLLECTION
RATING @deprecated(reason: "Product rating is deprecated and will be removed. Use a numeric attribute instead.")
CREATED_AT
}
Values
NAME
NAME
Sort products by name.
RANK
RANK
Sort products by rank. Note: This option is available only with the search filter.
PRICE
PRICE
Sort products by price.
This option requires a channel filter to work as the values can vary between channels.
MINIMAL_PRICE
MINIMAL_PRICE
Sort products by a minimal price of a product’s variant.
This option requires a channel filter to work as the values can vary between channels.
LAST_MODIFIED
LAST_MODIFIED
Sort products by update date.
DATE
DATE
Sort products by update date.
TYPE
TYPE
Sort products by type.
PUBLISHED
PUBLISHED
Sort products by publication status.
This option requires a channel filter to work as the values can vary between channels.
PUBLICATION_DATE
PUBLICATION_DATE
Sort products by publication date.
This option requires a channel filter to work as the values can vary between channels.
PUBLISHED_AT
PUBLISHED_AT
Sort products by publication date.
This option requires a channel filter to work as the values can vary between channels.
LAST_MODIFIED_AT
LAST_MODIFIED_AT
Sort products by update date.
COLLECTION
COLLECTION
Sort products by collection. Note: This option is available only for the Collection.products query.
This option requires a channel filter to work as the values can vary between channels.
RATING
RATING
Sort products by rating.
CREATED_AT
CREATED_AT
Sort products by creation date.
Used by
Schema: Saleor 3.23.43. Download SDL.