younifyd
Menu

Update Product Attribute

Update a product attribute

PUT/products/attributes/{attributeId}

Use it in a workflow

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

Request

Path parameters

attributeIdintegerrequired

Request body

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

idinteger

Attribute ID.

namestring

Attribute name.

optionstring

Selected attribute term name. Applicable only for Product represents SKU (variation)

slugstring

Attribute slug.

typestring

Attribute type.

order_bystring

Sort order.

has_archivesboolean

Enable/Disable attribute archives.

json
{
  "id": 0,
  "name": "string",
  "option": "string",
  "slug": "string",
  "type": "string",
  "order_by": "string",
  "has_archives": false
}

Response

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

idinteger

Attribute ID.

namestring

Attribute name.

optionstring

Selected attribute term name. Applicable only for Product represents SKU (variation)

slugstring

Attribute slug.

typestring

Attribute type.

order_bystring

Sort order.

has_archivesboolean

Enable/Disable attribute archives.

json
{
  "id": 0,
  "name": "string",
  "option": "string",
  "slug": "string",
  "type": "string",
  "order_by": "string",
  "has_archives": false
}

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