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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

promotionUpdate Mutation

Updates an existing promotion.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • PROMOTION_UPDATED (async): A promotion was updated.
  • PROMOTION_STARTED (async): Optionally called if promotion was started.
  • PROMOTION_ENDED (async): Optionally called if promotion was ended.

Applied directives

@webhookEventsInfo(asyncEvents: [PROMOTION_UPDATED, PROMOTION_STARTED, PROMOTION_ENDED], syncEvents: [])
promotionUpdate(externalReference: String, id: ID, input: PromotionUpdateInput!): PromotionUpdate

Returns

PromotionUpdate

Show return type
type PromotionUpdate {
  errors: [PromotionUpdateError!]!
  promotion: Promotion
}

Arguments

externalReference

externalReference · String

External ID of a promotion to update.

Added in Saleor 3.23

id

id · ID

ID of the promotion to update.

input

input · PromotionUpdateInput!

Fields required to update a promotion.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?