Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Subtask → Update

AI-generated

Summary

Updates an existing Rentman subtask by ID, changing its title and/or completed status through a declarative request to /subtasks/{id}.

Inputs

  • subtaskId (required) — ID of the subtask to update. It is inserted into the request URL as /subtasks/{id}.
  • updateFields — Collection of fields to change. Only the fields you add are sent in the request body. Options are Title (string) and Completed (boolean).
  • requestOptions — Node-level HTTP settings. Batching has items per batch (default 50) and batch interval in ms (default 1000). Ignore SSL Issues, Proxy, and Timeout (default 10000 ms) are also available.

Output shape

The API response for the updated subtask, returned as n8n items. This is presumably the subtask record.

The source pack contains only stubbed code, so the response shape is not confirmed. The operation is routed declaratively, and the HTTP method is not visible in the supplied properties. If no update fields are added, the request body is empty.

Examples

Example 1: Mark a subtask as done after an upstream step finishes.

Set Subtask ID to an expression such as {{ $json.id }}. Add the Completed field to Update Fields and set it to true.

Example 2: Rename a subtask.

Set Subtask ID to the target ID. Add the Title field to Update Fields and enter the new title.

Links

Discussion