Skip to main content

orderLineDiscountUpdate Mutation

Update discount for the order line.

Requires the MANAGE_ORDERSpermission.
orderLineDiscountUpdate(
input: OrderDiscountCommonInput!
orderLineId: ID!
): OrderLineDiscountUpdate
Details
type OrderLineDiscountUpdate {
orderLine: OrderLine
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments​

input ● OrderDiscountCommonInput!​

Fields required to update price for the order line.

orderLineId ● ID!​

ID of a order line to update price

Type​

OrderLineDiscountUpdate​

Update discount for the order line.

Requires the MANAGE_ORDERSpermission.