Actions126
- Account Actions
- City Actions
- Contact Actions
- Contact Line of Business Actions
- Contact Number of Employees Actions
- Contact Origin Actions
- Contact Product Actions
- Contact Relationship Actions
- Contact Status Actions
- Contact Type Actions
- Country Actions
- Currency Actions
- Deal Actions
- Deal Loss Reason Actions
- Deal Pipeline Actions
- Deal Stage Actions
- Deal Status Actions
- Department Actions
- Document Actions
- Document Template Actions
- Field Actions
- Field Entity Actions
- Field Options Table Actions
- Field Options Table Option Actions
- Field Type Actions
- Interaction Record Actions
- Operation Actions
- Order Actions
- Order Stage Actions
- Phone Type Actions
- Product Actions
- Product Family Actions
- Product Group Actions
- Product Part Actions
- Quote Actions
- Quote Approval Status Actions
- Relative Date Actions
- Role Actions
- State Actions
- Tag Actions
- Task Actions
- Task Email Reminder Actions
- Task Repeat Interval Unit Actions
- Task Type Actions
- Team Actions
- User Actions
- User Profile Actions
- Webhook Actions
- Webhook Action Actions
Department → Update
AI-generatedSummary
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 withsuccess,resource,operation, andtimestampfields.
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
