Skip to main content

orderDiscountAdd Mutation

Adds discount to the order.

Requires MANAGE_ORDERSpermission.
orderDiscountAdd(
input: OrderDiscountCommonInput!
orderId: ID!
): OrderDiscountAdd

Arguments

orderDiscountAdd.input ● OrderDiscountCommonInput! non-null input orders

Fields required to create a discount for the order.

orderDiscountAdd.orderId ● ID! non-null scalar miscellaneous

ID of an order to discount.

Type

OrderDiscountAdd object orders

Adds discount to the order.

Requires MANAGE_ORDERSpermission.