Skip to main content

orderDiscountUpdate Mutation

Update discount for the order.

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

Arguments

orderDiscountUpdate.discountId ● ID! non-null scalar miscellaneous

ID of a discount to update.

orderDiscountUpdate.input ● OrderDiscountCommonInput! non-null input orders

Fields required to update a discount for the order.

Type

OrderDiscountUpdate object orders

Update discount for the order.

Requires MANAGE_ORDERSpermission.