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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

PromotionWhereInput Input Type

input PromotionWhereInput {
  metadata: [MetadataFilter!]
  ids: [ID!]
  name: StringFilterInput
  endDate: DateTimeFilterInput
  startDate: DateTimeFilterInput
  isOldSale: Boolean
  type: PromotionTypeEnumFilterInput
  AND: [PromotionWhereInput!]
  OR: [PromotionWhereInput!]
}

Fields

metadata

metadata · [MetadataFilter!]

ids

ids · [ID!]

name

name · StringFilterInput

Filter by promotion name.

endDate

endDate · DateTimeFilterInput

Filter promotions by end date.

startDate

startDate · DateTimeFilterInput

Filter promotions by start date.

isOldSale

isOldSale · Boolean

type

type · PromotionTypeEnumFilterInput

AND

AND · [PromotionWhereInput!]

List of conditions that must be met.

OR

OR · [PromotionWhereInput!]

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?