Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Category → Update

AI-generated

Summary

Update a category in Mautic by specifying its ID and the fields to modify; optionally create the category if it does not exist.

Inputs

  • Authentication (required) — Choose the authentication method to use: Credentials or OAuth2.
  • Category ID (required) — The ID of the category to update.
  • Create If Not Found — Whether to create a new category if no existing category matches the given ID.
  • Update Fields — The fields to update on the category, including title, bundle, description, and color.

Output shape

a single updated category record as returned by Mautic's API

The output contains the updated category data. If 'Create If Not Found' is true and the category does not exist, a new one is created and returned. Errors are raised if the category is not found and creation is disabled, or if the update fails.

Discussion