NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Employee → Update record

AI-generated

Summary

Update an existing employee record via NetSuite’s SuiteTalk REST API.

Inputs

  • id (required) — Internal identifier of the employee to update.
  • isDebugMode — If true, include full request and response information in the output.
  • additionalFields — Optional employee fields to be updated; supports nested address, contact, payroll, and other employee attributes.
  • customFields — Optional custom fields for the employee. Each entry specifies the field name (from NetSuite), its type, and the value to set.

Output shape

a single updated employee record in JSON format

If debug mode is enabled, the output also contains the full HTTP request and response bodies. The operation replaces only the supplied fields; unspecified fields remain unchanged.

Examples

Example 1: Update an employee’s email address

Select resource "Employee", operation "Update record", set the employee Id, enable debug mode if desired, then in Additional Fields set the email field to the new address.

Example 2: Change an employee’s phone and address

Provide Id, add phone and address fields under Additional Fields; optional custom fields can be set as well.

Example 3: Set a custom field on an employee

Set Id, and under Custom Fields select the custom field name and provide its value.

Discussion