Skip to main content

CartSortInput

Sorting configuration for cart search results.

Defines how the returned cart list should be ordered based on available fields and sort directions.

input CartSortInput {
field: CartSortField!
order: SortOrder!
}

Fields

CartSortInput.field ● CartSortField! non-null enum

Cart field to use for sorting.

Determines which cart property will be used as the primary sort key for ordering results.

CartSortInput.order ● SortOrder! non-null enum

Sort direction for the results.

Specifies whether results should be ordered in ascending (ASC) or descending (DESC) order based on the selected field.

Member Of

CartSearchInput input