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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

orderDiscountAdd Mutation

Adds discount to the order.

Requires one of the following permissions:MANAGE_ORDERS
orderDiscountAdd(input: OrderDiscountCommonInput!, orderId: ID!): OrderDiscountAdd

Returns

OrderDiscountAdd

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

Arguments

input

input · OrderDiscountCommonInput!

Fields required to create a discount for the order.

orderId

orderId · ID!

ID of an order to discount.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?