Skip to main content

ProductOrder

Sorting options for products

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

Fields

ProductOrder.direction ● OrderDirection! non-null enum

Specifies the direction in which to sort products.

ProductOrder.field ● ProductOrderField enum

Sort products by the selected field.

ProductOrder.attributeId ● ID scalar

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

Member Of

products query

Was this page helpful?