Skip to main content
Version: 3.x

orderDiscountAdd

Adds discount to the order.

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

Arguments

orderDiscountAdd.input ● OrderDiscountCommonInput! non-null input

Fields required to create a discount for the order.

orderDiscountAdd.orderId ● ID! non-null scalar

ID of an order to discount.

Type

OrderDiscountAdd object

Adds discount to the order.

Requires MANAGE_ORDERSpermission.

Was this page helpful?