Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Tax Rule DELETE API Documentation

Deleting Specific Tax Rules

Endpoints:DELETE /admin/tax_rules/{id}

Purpose

The DELETE /admin/tax_rules/{id} API is used to remove a specific tax rule from the system. This endpoint allows administrators to delete tax rules that are no longer needed, ensuring that outdated or incorrect tax regulations do not affect product pricing or tax calculations.

Path Parameters

Parameter
Type
Description
id
integer
The unique identifier of the categories

Query Parameters 

This endpoint does not have any query parameters.

Use Case

Administrators use this endpoint when tax regulations change, specific tax rules become obsolete, or there is a need to clean up redundant or incorrectly configured tax rules. This helps maintain an accurate and streamlined tax system, ensuring that only valid tax rules are applied to transactions.

Request Body

No data is required for the request body.

Response

The response will be empty, with a 204 No Content status indicating that the deletion was successful and no additional information is returned.

DELETE
https://{your_site_domain}/api/v4/admin/tax_rules/{id}
Try It Out
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance