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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

saleUpdate Mutation

Updates a sale.

Requires one of the following permissions:MANAGE_DISCOUNTS

Triggers the following webhook events:

  • SALE_UPDATED (async): A sale was updated.
  • SALE_TOGGLE (async): Optionally triggered when a sale is started or stopped.

Applied directives

@webhookEventsInfo(asyncEvents: [SALE_UPDATED, SALE_TOGGLE], syncEvents: [])
saleUpdate(id: ID!, input: SaleInput!): SaleUpdate

Returns

SaleUpdate

Show return type
type SaleUpdate {
  discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [DiscountError!]!
  sale: Sale
}

Arguments

id

id · ID!

ID of a sale to update.

input

input · SaleInput!

Fields required to update a sale.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?