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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

AttributeWhereInput Input Type

Where filtering options.

input AttributeWhereInput {
  metadata: [MetadataFilter!]
  ids: [ID!]
  name: StringFilterInput
  slug: StringFilterInput
  withChoices: Boolean
  inputType: AttributeInputTypeEnumFilterInput
  entityType: AttributeEntityTypeEnumFilterInput
  type: AttributeTypeEnumFilterInput
  unit: MeasurementUnitsEnumFilterInput
  inCollection: ID
  inCategory: ID
  valueRequired: Boolean
  visibleInStorefront: Boolean
  filterableInDashboard: Boolean @deprecated(reason: "This flag is not used by Saleor. Keep the logic in the dashboard or use `Attribute` metadata instead.")
  AND: [AttributeWhereInput!]
  OR: [AttributeWhereInput!]
}

Fields

metadata

metadata · [MetadataFilter!]

ids

ids · [ID!]

name

name · StringFilterInput

slug

slug · StringFilterInput

withChoices

withChoices · Boolean

inputType

inputType · AttributeInputTypeEnumFilterInput

entityType

entityType · AttributeEntityTypeEnumFilterInput

type

type · AttributeTypeEnumFilterInput

unit

unit · MeasurementUnitsEnumFilterInput

inCollection

inCollection · ID

inCategory

inCategory · ID

valueRequired

valueRequired · Boolean

visibleInStorefront

visibleInStorefront · Boolean

filterableInDashboard

filterableInDashboard · Boolean

Whether the attribute can be filtered in dashboard.

AND

AND · [AttributeWhereInput!]

List of conditions that must be met.

OR

OR · [AttributeWhereInput!]

A list of conditions of which at least one must be met.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 24, 2026

Was this page helpful?