younifyd
Menu

Batch Update Attribute Terms

Batch update attribute terms

POST/products/attributes/{attributeId}/terms/batch

Use it in a workflow

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

Request

Path parameters

attributeIdintegerrequired

Request body

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

createarray<object>
idinteger

Term ID.

namestring

Term name.

slugstring

Term slug.

descriptionstring

Term description.

menu_orderinteger

Menu order.

countinteger

Number of products in term.

updatearray<object>
idinteger

Term ID.

namestring

Term name.

slugstring

Term slug.

descriptionstring

Term description.

menu_orderinteger

Menu order.

countinteger

Number of products in term.

deletearray<integer>
json
{
  "create": [
    {
      "id": 0,
      "name": "string",
      "slug": "string",
      "description": "string",
      "menu_order": 0,
      "count": 0
    }
  ],
  "update": [
    {
      "id": 0,
      "name": "string",
      "slug": "string",
      "description": "string",
      "menu_order": 0,
      "count": 0
    }
  ],
  "delete": [
    0
  ]
}

Response

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

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