younifyd
Menu

Update Attribute Term

Update an attribute term

PUT/products/attributes/{attributeId}/terms/{termId}

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Update Attribute Term action (under Product attribute terms).
  3. Fill in the fields below, then reference the result from later steps as {{updateAttributeTerm.response.data}}.

Request

Path parameters

attributeIdintegerrequired
termIdintegerrequired

Request body

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

idinteger

Term ID.

namestring

Term name.

slugstring

Term slug.

descriptionstring

Term description.

menu_orderinteger

Menu order.

countinteger

Number of products in term.

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

Response

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

idinteger

Term ID.

namestring

Term name.

slugstring

Term slug.

descriptionstring

Term description.

menu_orderinteger

Menu order.

countinteger

Number of products in term.

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

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