Deleting Tax Zone
Endpoint: DELETE /admin/tax_zones/{zone_id}
Purpose
This endpoint deletes a specific tax zone, removing it from the system. It allows administrators to manage tax configurations by eliminating outdated or unnecessary tax zones.
Path Parameters
Field | Type | Description |
---|---|---|
zone_id | integer | The unique identifier of the tax zone to be deleted |
Query Parameters
This endpoint does not require any query parameters.
Use Case
An admin deletes a tax zone that is no longer needed, ensuring that only valid tax zones are maintained in the system. This helps prevent conflicts in tax calculations and keeps the tax settings organized and up to date.
Request Body
This endpoint does not require a request body.
Response
A successful request returns a 204 No Content response, indicating that the tax zone was successfully deleted. No response body is returned.
DELETE
https://{your_site_domain}/api/v4/admin/tax_zones/{zone_id}
Try It Out