Skip to main content

CollectionSortingInput Input Type

No description

input CollectionSortingInput {
direction: OrderDirection!
channel: String
field: CollectionSortField!
}

Fields

CollectionSortingInput.direction ● OrderDirection! non-null enum miscellaneous

Specifies the direction in which to sort collections.

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

CollectionSortingInput.field ● CollectionSortField! non-null enum products

Sort collections by the selected field.

Member Of

collections query