Dependencies

Dependencies

When creating a new task, you may provide the IDs of existing tasks on which the newly-created task will depend by including them in the dependencies array.

You will need to enable dependency management in the dashboard settings to use this functionality: for more details, read this support center document.

Maintaining dependencies for existing tasks can be done in the same fashion as any other task property via the Update task endpoint.

Note that task dependencies are equivalent to the dashboard concept of Linked Tasks. The workflow to link tasks via this field is as followed:

  • Create pickup task, note the ID of the pickup task.
  • Create dropoff task with a dependencies field with with pickup task ID.

This will allow the tasks to be linked, where the Pickup has to complete prior to starting the Dropoff.