commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Attribute-group → Update AttributeGroup by ID

AI-generated

Summary

Update an existing AttributeGroup by its ID by specifying the version and one or more update actions to apply changes such as adding or removing attributes, changing the name, setting attributes or description, or updating the key.

Inputs

  • Attribute-group ID (required) — The unique identifier of the AttributeGroup to update.
  • Version (required) — The current version of the AttributeGroup for concurrency control, must match the server version.
  • Actions (JSON) — A raw JSON array of update actions to apply to the AttributeGroup. Overrides the Actions (UI) input if not empty.
  • Actions (UI) — One or more update actions selected and configured via the UI, such as AddAttribute, ChangeName, RemoveAttribute, SetAttributes, SetDescription, or SetKey.

Output shape

a single JSON object representing the updated AttributeGroup as returned from the commercetools API

The update requires the current version number to avoid conflicts. Actions can be specified either as raw JSON or via the UI, with the JSON input taking precedence if provided. If an error occurs, it is returned in the node output or through workflow error handling.

Links

Discussion