Skip to main content

ProductOrderField

No description

enum ProductOrderField {
NAME
RANK
PRICE
MINIMAL_PRICE
LAST_MODIFIED
DATE
TYPE
PUBLISHED
PUBLICATION_DATE
PUBLISHED_AT
LAST_MODIFIED_AT
COLLECTION
RATING
CREATED_AT
}

Values

ProductOrderField.NAME

Sort products by name.

ProductOrderField.RANK

Sort products by rank. Note: This option is available only with the search filter.

ProductOrderField.PRICE

Sort products by price.

This option requires a channel filter to work as the values can vary between channels.

ProductOrderField.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.

ProductOrderField.LAST_MODIFIED

Sort products by update date.

ProductOrderField.DATE

Sort products by update date.

ProductOrderField.TYPE

Sort products by type.

ProductOrderField.PUBLISHED

Sort products by publication status.

This option requires a channel filter to work as the values can vary between channels.

ProductOrderField.PUBLICATION_DATE

Sort products by publication date.

This option requires a channel filter to work as the values can vary between channels.

ProductOrderField.PUBLISHED_AT

Sort products by publication date.

This option requires a channel filter to work as the values can vary between channels.

ProductOrderField.LAST_MODIFIED_AT

Sort products by update date.

ProductOrderField.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.

ProductOrderField.RATING

Sort products by rating.

ProductOrderField.CREATED_AT

Sort products by creation date.

Added in Saleor 3.8

Member Of

ProductOrder input