Skip to main content

ProductOrder Input Type

No description

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

Fields

ProductOrder.direction ● OrderDirection! non-null enum miscellaneous

Specifies the direction in which to sort products.

ProductOrder.channel ● String scalar miscellaneous

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 miscellaneous

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

ProductOrder.field ● ProductOrderField enum products

Sort products by the selected field.

Member Of

products query