Skip to main content
Version: 3.x

orderDiscountUpdate

Update discount for the order.

Requires MANAGE_ORDERSpermission.
orderDiscountUpdate(
discountId: ID!
input: OrderDiscountCommonInput!
): OrderDiscountUpdate

Arguments

orderDiscountUpdate.discountId ● ID! non-null scalar

ID of a discount to update.

orderDiscountUpdate.input ● OrderDiscountCommonInput! non-null input

Fields required to update a discount for the order.

Type

OrderDiscountUpdate object

Update discount for the order.

Requires MANAGE_ORDERSpermission.

Was this page helpful?