Skip to main content

orderDiscountAdd Mutation

Adds discount to the order.

Requires the MANAGE_ORDERSpermission.
orderDiscountAdd(
input: OrderDiscountCommonInput!
orderId: ID!
): OrderDiscountAdd
Show return type

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 the MANAGE_ORDERSpermission.