Skip to main content

orderDiscountUpdate Mutation

Update discount for the order.

Requires the MANAGE_ORDERSpermission.
orderDiscountUpdate(
discountId: ID!
input: OrderDiscountCommonInput!
): OrderDiscountUpdate
Show return type

Arguments

discountId ● ID!

ID of a discount to update.

input ● OrderDiscountCommonInput!

Fields required to update a discount for the order.

Type

OrderDiscountUpdate

Update discount for the order.

Requires the MANAGE_ORDERSpermission.