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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

promotionRuleCreate Mutation

Creates a new promotion rule.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • PROMOTION_RULE_CREATED (async): A promotion rule was created.

Applied directives

@webhookEventsInfo(asyncEvents: [PROMOTION_RULE_CREATED], syncEvents: [])
promotionRuleCreate(input: PromotionRuleCreateInput!): PromotionRuleCreate

Returns

PromotionRuleCreate

Show return type
type PromotionRuleCreate {
  errors: [PromotionRuleCreateError!]!
  promotionRule: PromotionRule
}

Arguments

input

input · PromotionRuleCreateInput!

Fields required to create a promotion rule.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?