Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Task Subtask → Add

AI-generated

Summary

Adds an existing task as a subtask to a parent task.

Inputs

  • parentTaskId (required) — The UUID or short number of the parent task.
  • subtaskId (required) — The UUID of the existing task to add as a subtask.

Output shape

A single item containing the updated parent task data.

Returns the updated parent task object; does not return the added subtask.

Examples

Example 1: Link a task to a parent project task

Set Parent Task ID to the project task's ID and Subtask ID to the child task's ID.

Links

Discussion