Skip to main content
Version: 3.x

ProductOrder

No description

input ProductOrder {
direction: OrderDirection!
channel: String
attributeId: ID
field: ProductOrderField
}

Fields

ProductOrder.direction ● OrderDirection! non-null enum

Specifies the direction in which to sort products.

ProductOrder.channel ● String scalar

Specifies the channel in which to sort the data.

DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.

ProductOrder.attributeId ● ID scalar

Sort product by the selected attribute's values. Note: this doesn't take translations into account yet.

ProductOrder.field ● ProductOrderField enum

Sort products by the selected field.

Member of

products query