NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Role → Update record

AI-generated

Summary

Update an existing Sales Role record in NetSuite by specifying its internal Id and providing the fields to change.

Inputs

  • id (required) — The internal identifier of the Sales Role record to update.
  • additionalFields — Optional fields to update, including Description, External ID, Inactive status, Role name, Sales Rep status, and various control headers such as Prefer and validation settings.
  • customFields — A collection of custom fields to update on the Sales Role record, each with a specified field name, type, and value.
  • isDebugMode — Whether to include full request and response details in the output for debugging purposes.

Output shape

a single updated Sales Role record in JSON format

If Debug Mode is enabled, the output includes full request and response information alongside the updated record data.

Examples

Example 1: Updating the description and marking a Sales Role as inactive.

Set the Id to the Sales Role's internal ID, specify 'Description' and 'Inactive' under Additional Fields, and execute.

Discussion