Skip to main content

ProductTextFilterInput

Text-based filtering criteria for product attributes.

Enables filtering products by text-based attributes such as names, descriptions, or custom text fields. Supports both inclusion and exclusion filtering with multiple values.

input ProductTextFilterInput {
id: String
name: String
values: [String!]!
exclude: Boolean!
type: AttributeType
}

Fields

ProductTextFilterInput.id ● String scalar

Unique identifier of the attribute to filter by.

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

ProductTextFilterInput.name ● String scalar

Name of the attribute to filter by.

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

ProductTextFilterInput.values ● [String!]! non-null scalar

Text values to filter by.

List of text values that products must match. Products matching any of these values will be included in results (unless 'exclude' is true).

ProductTextFilterInput.exclude ● Boolean! non-null scalar

Exclude matching products instead of including them.

When false (default), products matching the filter values are included in results. When true, products matching the filter values are excluded from results.

ProductTextFilterInput.type ● AttributeType enum

Type of the attribute being filtered.

Specifies the data type of the attribute to ensure proper filtering behavior. Defaults to TEXT for standard text-based filtering.

Member Of

CategoryProductSearchInput input ● ProductSearchInput input ● SparePartsMachineProductSearchInput input