Skip to main content

ProductRangeFilterInput

Range-based filtering criteria for numeric product attributes.

Enables filtering products by numeric ranges such as dimensions, weights, quantities, or custom numeric fields. Extends price filtering capabilities to support any numeric attribute with minimum and maximum value constraints.

input ProductRangeFilterInput {
from: Float!
to: Float!
id: String
name: String
exclude: Boolean!
type: AttributeType
}

Fields

ProductRangeFilterInput.from ● Float! non-null scalar

Minimum price threshold for filtering.

Lower bound of the price range. Products with prices equal to or greater than this value will be included in the results.

ProductRangeFilterInput.to ● Float! non-null scalar

Maximum price threshold for filtering.

Upper bound of the price range. Products with prices equal to or less than this value will be included in the results.

ProductRangeFilterInput.id ● String scalar

Unique identifier of the attribute to filter by.

Either this field or 'name' must be provided to specify which numeric attribute to filter. Use this when you know the specific attribute ID.

ProductRangeFilterInput.name ● String scalar

Name of the attribute to filter by.

Either this field or 'id' must be provided to specify which numeric attribute to filter. Use this when referencing attributes by their display name.

ProductRangeFilterInput.exclude ● Boolean! non-null scalar

Exclude products within the specified range instead of including them.

When false (default), products within the min/max range are included in results. When true, products within the min/max range are excluded from results.

ProductRangeFilterInput.type ● AttributeType enum

Data type of the numeric attribute being filtered.

Specifies whether the attribute contains decimal numbers, integers, or other numeric types to ensure proper range comparison and filtering behavior.

Member Of

CategoryProductSearchInput input ● ProductSearchInput input ● SparePartsMachineProductSearchInput input