DeleteCoupon
in package
Mutation to delete a coupon.
Table of Contents
- execute() : DeleteCouponResult
- Execute the mutation.
Methods
execute()
Execute the mutation.
public
execute(int $id[, bool $force = false ]) : DeleteCouponResult
Parameters
- $id : int
-
The coupon ID.
- $force : bool = false
-
Whether to permanently delete.
