NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Task → Update record

AI-generated

Summary

Update a Task record in NetSuite by specifying its internal Id and providing any fields to change, including standard and custom fields.

Inputs

  • Id (required) — Internal identifier of the Task record to update.
  • Additional Fields — Optional fields to update on the Task record, such as assigned user, comments, company, contact, dates, priority, status, title, and email notification options.
  • Custom Fields — One or more custom fields to update on the Task record, each with its field name, type, and value.
  • Debug Mode — If enabled, includes full request and response information in the operation output.

Output shape

a single updated Task record, including potentially full request and response details if Debug Mode is enabled

The update is performed via a PATCH request to /task/{id}; the response includes the updated Task object. Use the 'Prefer' additional field to request asynchronous execution if desired. Custom fields must match loaded custom field options. Errors return as workflow errors.

Examples

Example 1: Update Task Title and Status

Provide Task Id, set title and status fields under Additional Fields, optionally add custom fields, then execute.

Discussion