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