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
A list of conditions of which at least one must be met.
Used by
Schema: Saleor 3.23.43. Download SDL.