Skip to main content

orderDiscountDelete Mutation

Remove discount from the order.

Requires the MANAGE_ORDERSpermission.
orderDiscountDelete(
discountId: ID!
): OrderDiscountDelete
Details
type OrderDiscountDelete {
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments

discountId ● ID!

ID of a discount to remove.

Type

OrderDiscountDelete

Remove discount from the order.

Requires the MANAGE_ORDERSpermission.