Delete discount criteria
To delete discount criteria, you must perform the following:
- Get an instance of the manager.
Get an instance of the OrdersManager object.
- Mark the discount for deletion.
To mark the discount to be deleted, call the DeleteDiscount method of the manager and pass the ID of the criteria as an argument.
- Save the changes.
To delete the discount criteria, save the changes to the manager.
Use the following code sample: