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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

MetadataFilterInput Input Type

Allows filtering based on metadata key/value pairs.

Examples:

  • {key: "size"} Matches objects where the metadata key “size” exists, regardless of its value.
  • {key: "color", value: {oneOf: ["blue", "green"]}} Matches objects where the metadata key “color” is set to either “blue” or “green”.
  • {key: "status", value: {eq: "active"}} Matches objects where the metadata key “status” is set to “active”.
input MetadataFilterInput {
  key: String!
  value: MetadataValueFilterInput
}

Fields

key

key · String!

Key to filter by. If not other fields provided - checking the existence of the key in metadata.

value

value · MetadataValueFilterInput

Value to filter by.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?