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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

orderDiscountUpdate Mutation

Update discount for the order.

Requires one of the following permissions:MANAGE_ORDERS
orderDiscountUpdate(discountId: ID!, input: OrderDiscountCommonInput!): OrderDiscountUpdate

Returns

OrderDiscountUpdate

Show return type
type OrderDiscountUpdate {
  order: Order
  orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [OrderError!]!
}

Arguments

discountId

discountId · ID!

ID of a discount to update.

input

input · OrderDiscountCommonInput!

Fields required to update a discount for the order.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?