Modify taxes

To modify a tax, you must perform the following:

  1. Get an instance of the orders manager.
    Get an instance of the OrdersManager object.
  2. Get the specified tax.
    Get an instance of the tax. For more information, read For developers: Query taxes.
  3. Modify the instance of the tax.
    Update the values of the properties of the tax. For more information about modifying the tax class rates, see For developers: Set the tax class rates.
  4. Save the changes.
    Save the changes to the manager.

Use the following code sample:

Was this article helpful?

Next article

Delete taxes