younifyd
Menu

Delete Tax Class By Slug

This API helps you delete a tax class.

DELETE/taxes/classes/{slug}

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Delete Tax Class By Slug action (under Taxes).
  3. Fill in the fields below, then reference the result from later steps as {{deleteTaxClassBySlug.response.data}}.

Request

Path parameters

slugstringrequired

Slug of tax class to delete

Query parameters

forcebooleanrequired

Required to be true, as resource does not support trashing.

Default true

Response

Returns 200 with an object. Read it in later steps with {{deleteTaxClassBySlug.response.data.<field>}}.

slugstring

Unique identifier for the resource. read-only

namestring

Tax class name. mandatory

json
{
  "slug": "string",
  "name": "string"
}

Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.