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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

PromotionCreateInput Input Type

input PromotionCreateInput {
  description: JSON
  startDate: DateTime
  endDate: DateTime
  externalReference: String
  name: String!
  type: PromotionTypeEnum!
  rules: [PromotionRuleInput!]
}

Fields

description

description · JSON

Promotion description.

startDate

startDate · DateTime

The start date of the promotion in ISO 8601 format.

endDate

endDate · DateTime

The end date of the promotion in ISO 8601 format.

externalReference

externalReference · String

External ID of this promotion.

Added in Saleor 3.23

name

name · String!

Promotion name.

type

type · PromotionTypeEnum!

Defines the promotion type. Implicate the required promotion rules predicate type and whether the promotion rules will give the catalogue or order discount.

rules

rules · [PromotionRuleInput!]

List of promotion rules.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?