Update category
update_categoryUpdate an existing category via JSON Merge Patch: send only the fields to change. Use null parent_id to make the category top-level or null file_id to remove its image.
Instructions
Update an existing category via JSON Merge Patch: send only the fields to change. Only parent_id and file_id accept null (parent_id: null makes the category top-level, file_id: null removes the image); null on any other field is rejected by validation. Call get_operation_schema("UpdateCategory") for the exact request shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category ID (UUID). | |
| category | Yes | Merge-patch record matching the UpdateCategoryRequest schema (see get_operation_schema("UpdateCategory")). Must not be empty. |