younifyd
Menu

Create Product Tag

This API helps you to create a new product tag.

POST/products/tags

Use it in a workflow

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

Request

Request body

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

idinteger

Tag ID.

namestringrequired

Tag name. read-only

slugstring

Tag slug. read-only

descriptionstring

HTML description of the resource

countinteger

Number of published products for the resource

json
{
  "name": "string",
  "id": 0,
  "slug": "string",
  "description": "string",
  "count": 0
}

Response

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

idinteger

Tag ID.

namestring

Tag name. read-only

slugstring

Tag slug. read-only

descriptionstring

HTML description of the resource

countinteger

Number of published products for the resource

json
{
  "name": "string",
  "id": 0,
  "slug": "string",
  "description": "string",
  "count": 0
}

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