Actions56
- Emission Actions
- Equipment Actions
- Member Actions
- Observation Actions
- Organization Actions
- Product Actions
- Report Actions
- Site Actions
- Stock Actions
- Task Actions
- Warehouse Actions
- Workflow Actions
Task → Update
AI-generatedSummary
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.