Delete discount criteria

To delete discount criteria, you must perform the following:

  1. Get an instance of the manager.
    Get an instance of the OrdersManager object.
  2. 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.
  3. Save the changes.
    To delete the discount criteria, save the changes to the manager.

Use the following code sample:

Was this article helpful?