Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

AttributeInput Input Type

input AttributeInput {
  slug: String
  value: AssignedAttributeValueInput
  values: [String!] @deprecated(reason: "Use `value` instead.")
  valuesRange: IntRangeInput @deprecated(reason: "Use `value` instead.")
  dateTime: DateTimeRangeInput @deprecated(reason: "Use `value` instead.")
  date: DateRangeInput @deprecated(reason: "Use `value` instead.")
  boolean: Boolean @deprecated(reason: "Use `value` instead.")
}

Fields

slug

slug · String

Internal representation of an attribute name.

value

value · AssignedAttributeValueInput

Filter by value of the attribute. Only one value input field is allowed. If provided more than one, the error will be raised. Cannot be combined with deprecated fields of AttributeInput.

values

values · [String!]

Slugs identifying the attributeValues associated with the Attribute. When specified, it filters the results to include only records with one of the matching values. Requires slug to be provided.

valuesRange

valuesRange · IntRangeInput

The range that the returned values should be in. Requires slug to be provided.

dateTime

dateTime · DateTimeRangeInput

The date/time range that the returned values should be in. Requires slug to be provided.

date

date · DateRangeInput

The date range that the returned values should be in. In case of date/time attributes, the UTC midnight of the given date is used. Requires slug to be provided.

boolean

boolean · Boolean

The boolean value of the attribute. Requires slug to be provided.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?