younifyd
Menu

Create Tax Class

This API helps you to create a new tax class.

POST/taxes/classes

Use it in a workflow

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

Request

Request body

Enter the body as JSON in the step's Body field.

slugstring

Unique identifier for the resource. read-only

namestring

Tax class name. mandatory

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

Response

Returns 201 with an object. Read it in later steps with {{createTaxClass.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.

Was this page helpful?