Ploomes CRM icon

Ploomes CRM

Interact with the Ploomes CRM API with full OData support

Actions126

Department → Update

AI-generated

Summary

Updates an existing Department in Ploomes CRM by sending a PATCH request to /Departments({id}) with a JSON body.

Inputs

  • resourceId (required) — The ID of the Department to update. It is inserted into the request URL as /Departments({resourceId}). Required.
  • body — JSON object containing the Department properties to update. Sent as the PATCH request body. In the UI this is marked optional and defaults to {}; include at least the fields you want to change.

Output shape

Success output: the updated Department object from the Ploomes API, or a { success: true, ... } object for empty responses. Error and Timeout outputs receive error objects with error, statusCode, isTimeout, resource, operation, and timestamp fields.

The API response is emitted on the Success output. If the API returns an array under value, each element is emitted as its own item. If the response is empty, the node emits a success object with success, resource, operation, and timestamp fields.

Examples

Example 1: Rename a department or change its active status by sending only the fields to update.

PATCH a Department by ID with a JSON body

Links

Discussion