Skip to main content

orderLineDiscountUpdate Mutation

Update discount for the order line.

Requires the MANAGE_ORDERSpermission.
orderLineDiscountUpdate(
input: OrderDiscountCommonInput!
orderLineId: ID!
): OrderLineDiscountUpdate
Show return type

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.