Delete a tax category

How to delete an existing tax category via API

To delete a tax category, send a DELETE request to the /api/tax_categories/:id endpoint, where id is the id of the tax category that you want to delete.

Request

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

Example

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

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

Last updated