Pennylane icon

Pennylane

Interact with Pennylane accounting API

Category → Update

AI-generated

Summary

Update an existing category in Pennylane by specifying its Category ID and modifying one or more fields such as name, description, or associated category group ID.

Inputs

  • Category ID (required) — The ID of the category to update.
  • Update Fields — Fields to update on the category, including 'Name' (category name), 'Description' (category description), and 'Category Group ID' (ID of the category group this category belongs to).
  • Request Options — Optional settings for the API request such as batching parameters, SSL certificate validation behavior, proxy configuration, and timeout duration.

Output shape

a single updated category record

The operation returns the updated category object with applied changes. Supports optional batching for multiple updates and handles standard API response errors if the category ID does not exist or validation fails.

Discussion