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

Deleting a Tax Code

Endpoint: DELETE /admin/tax_codes/{id}

Purpose

This endpoint deletes a specific tax code from the system. It is used by administrators to remove outdated or unused tax rules to keep the tax configuration clean and relevant.

Path Parameters

Parameter
Type
Description
id
integer
The unique identifier of the tax code to be deleted

Query Parameters

This endpoint does not require any query parameters.

Use Case

An admin deletes a tax code that is no longer applicable to prevent it from being used in future transactions. This is essential for maintaining an accurate and streamlined tax system.

Request Body

This endpoint does not require a request body.

Response

A successful request returns a 204 No Content status, confirming that the tax code has been successfully deleted. No response body is returned.

DELETE
https://{your_site_domain}/api/v4/admin/tax_codes/{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