NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Contact Role → Update record

AI-generated

Summary

Patch update a Contact Role record in NetSuite by internal ID.

Inputs

  • id (required) — Internal identifier of the Contact Role record to update. This maps to the URL path parameter in PATCH /contactRole/{id}.
  • isDebugMode — Whether to include full request and response information in the operation output. Defaults to false.
  • authMethod — Authentication method for the API request. Options are OAuth1 or OAuth2. Defaults to OAuth1.
  • additionalFields — Collection of additional fields to update on the Contact Role record. Supported sub-options include description, externalId, isInactive, lastModifiedDate, Prefer, refName, replace, replaceSelectedFields, and X-NetSuite-Property* headers for validation behavior.
  • customFields — Fixed collection of custom fields to set on the Contact Role record. Each entry specifies a field name (loaded via loadOptionsMethod), field type (boolean, dateTime, multiSelect, number, select, string), and a value matched to the selected type. Multiple custom field entries are supported.

Output shape

object

The updated Contact Role record object returned by the NetSuite API, including all fields after the patch operation.

Examples

Example 1: Update the name and inactive status of a Contact Role record.

Set id to the target record's internal identifier, name to the new role name, and isInactive to true within the additionalFields collection.

Links

Discussion