SalamCRM icon

SalamCRM

Interact with SalamCRM API

Actions92

Categorie → Categories_Update

AI-generated

Summary

Update a category in SalamCRM by providing its numeric ID and the new category data in JSON format.

Inputs

  • id (required) — The numeric ID of the category to update, passed as a path parameter.
  • body (required) — A JSON object containing the updated category details conforming to CategorieEditDto, including at least the Id and Name fields.

Output shape

a single JSON object representing the updated category returned by the API.

The output corresponds to the updated category object as returned by the SalamCRM API PUT request to /api/categories/{id}. No pagination or error envelope is indicated.

Examples

Example 1: Update category with ID 5 to have a new name 'New Category Name'.

Set 'id' to 5 and 'body' to {"Id":5,"Name":"New Category Name"}.

Discussion