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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

ProductVariantWhereInput Input Type

input ProductVariantWhereInput {
  metadata: [MetadataFilter!]
  ids: [ID!]
  sku: StringFilterInput
  updatedAt: DateTimeRangeInput
  attributes: [AssignedAttributeWhereInput!]
  AND: [ProductVariantWhereInput!]
  OR: [ProductVariantWhereInput!]
}

Fields

metadata

metadata · [MetadataFilter!]

ids

ids · [ID!]

sku

sku · StringFilterInput

Filter by product SKU.

updatedAt

updatedAt · DateTimeRangeInput

Filter by when was the most recent update.

attributes

attributes · [AssignedAttributeWhereInput!]

Filter by attributes associated with the variant.

Added in Saleor 3.22

AND

AND · [ProductVariantWhereInput!]

List of conditions that must be met.

OR

OR · [ProductVariantWhereInput!]

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

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?