Skip to main content
Version: 3.x

orderDiscountAdd

Adds discount to the order.

Requires one of the following permissions: MANAGE_ORDERS.

orderDiscountAdd(
input: OrderDiscountCommonInput!
orderId: ID!
): OrderDiscountAdd

Arguments

input (OrderDiscountCommonInput!)

Fields required to create a discount for the order.

orderId (ID!)

ID of an order to discount.

Type

OrderDiscountAdd

Adds discount to the order.

Requires one of the following permissions: MANAGE_ORDERS.