Turfpal icon

Turfpal

Manage tasks, equipment, members, sites, observations, inventory, and more in Turfpal

Task → Update

AI-generated

Summary

Update an existing Turfpal task by specifying its ID and new field values to modify details such as location, products consumed, priority, status, and scheduling.

Inputs

  • Task (required) — The ID, URL, or list selection of the task to update.
  • Update Fields — Fields to update on the task, including areaId, assignedProducts (complete replacement), category, description, duration, endTime, locationId, noLocation flag, notes, priority, scheduledDate, siteId (deprecated), startTime, status, title, zoneIds (comma-separated, replaces all zones), and zoneType (replaces all zones and allows open-ended targeting).

Output shape

a single updated task record object.

The operation returns the updated task object as JSON. When updating assignedProducts or zoneIds, the entire set is replaced rather than appended; to add entries, include existing plus new ones. Setting zoneType while omitting zoneIds clears the explicit zones to enable open-ended targeting. The noLocation flag clears any location-related fields and is mutually exclusive with location fields in the same update. Validation errors or conflicts will result in API error responses wrapped as node errors.

Examples

Example 1: Update a task's title and status

Provide the task ID and under Update Fields, set new title and status values.

Links

Discussion