Delete an external tax calculator

How to delete an existing external tax calculator via API

To delete an external tax calculator, send a DELETE request to the /api/external_tax_calculators/:id endpoint, where id is the id of the external tax calculator that you want to delete.

Request

DELETE https://yourdomain.commercelayer.io/api/external_tax_calculators/:id

Example

Request
Response
Request

The following request tries to delete the external tax calculator identified by the ID "xYZkjABcde":

curl -X DELETE \
https://yourdomain.commercelayer.io/api/external_tax_calculators/xYZkjABcde \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'
Response

On success, the API responds with a 204 No Content status code.