Skip to main content
Version: 3.x

orderDiscountUpdate

Update discount for the order.

Requires one of the following permissions: MANAGE_ORDERS.

orderDiscountUpdate(
discountId: ID!
input: OrderDiscountCommonInput!
): OrderDiscountUpdate

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 one of the following permissions: MANAGE_ORDERS.