Skip to main content

AttributeInput

Input for attribute filtering. A range with neither bound is no range, and a clause with no value and no range matches nothing: leave the clause out instead.

input AttributeInput {
slug: String!
values: [String!]
condition: AttributeFilterConnector
connector: AttributeFilterConnector
valuesRange: AttributeRangeInput
date: DateRangeInput
dateTime: DateTimeRangeInput
}

Fields​

AttributeInput.slug ● String! non-null scalar​

Internal representation of an attribute name.

AttributeInput.values ● [String!] list scalar​

Internal representation of values (unique per attribute).

AttributeInput.condition ● AttributeFilterConnector enum​

How the 'values' and ranges are interpreted: OR matches any one of them, AND needs each.

AttributeInput.connector ● AttributeFilterConnector enum​

How this filter clause interacts with previous attribute filter clauses.

AttributeInput.valuesRange ● AttributeRangeInput input​

Amounts of NUMERIC and MONEY values. A MONEY value counts only in the marketplace's domiciled currency.

AttributeInput.date ● DateRangeInput input​

Days of DATE and DATE_TIME values, in the marketplace's timezone.

AttributeInput.dateTime ● DateTimeRangeInput input​

Instants of DATE and DATE_TIME values.

Member Of​

CategoryFilterInput input ● CollectionFilterInput input ● CustomerFilterInput input ● ProductFilterInput input ● ProductVariantFilterInput input ● StaffUserInput input

Was this page helpful?