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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

promotionRuleUpdate Mutation

Updates an existing promotion rule.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • PROMOTION_RULE_UPDATED (async): A promotion rule was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [PROMOTION_RULE_UPDATED], syncEvents: [])
promotionRuleUpdate(id: ID!, input: PromotionRuleUpdateInput!): PromotionRuleUpdate

Returns

PromotionRuleUpdate

Show return type
type PromotionRuleUpdate {
  errors: [PromotionRuleUpdateError!]!
  promotionRule: PromotionRule
}

Arguments

id

id · ID!

ID of the promotion rule to update.

input

input · PromotionRuleUpdateInput!

Fields required to create a promotion rule.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?