Skip to Content

ProductFilterInput

Input for filtering products by various criteria such as price, manufacturer, or taxonomy attributes.

Input Definition

input ProductFilterInput { type: String! attributeId: Int values: [String!]! }

Fields

FieldTypeRequiredDescription
typeString!YesThe type of filter (e.g., “price”, “manufacturer”, “taxonomy”).
attributeIdIntNoThe attribute ID for taxonomy filters. Required when type is “taxonomy”.
values[String!]!YesThe filter values to apply. For price filters, use format like “0-100”. For other filters, use the value identifiers.

Example

mutation { filterProducts(filters: { type: "price" values: ["0-100"] }) { id name price } }

No related types provided.