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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

orderLineDiscountUpdate Mutation

Update discount for the order line.

Requires one of the following permissions:MANAGE_ORDERS
orderLineDiscountUpdate(input: OrderDiscountCommonInput!, orderLineId: ID!): OrderLineDiscountUpdate

Returns

OrderLineDiscountUpdate

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

Arguments

input

input · OrderDiscountCommonInput!

Fields required to update price for the order line.

orderLineId

orderLineId · ID!

ID of a order line to update price


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?