NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Contact Role → Update record

AI-generated

Summary

Patch a Contact Role record identified by its internal ID and return the updated record.

Inputs

  • isDebugMode — When true, the node outputs full HTTP request and response details in addition to the updated record.
  • id (required) — Internal identifier of the Contact Role to update.
  • additionalFields — Optional fields to modify, such as description, externalId, isInactive, name, and headers like Prefer or X‑NetSuite.*.
  • customFields — Values for custom fields defined on the Contact Role record. Each entry specifies a field name, type, and value.

Output shape

a single record containing the updated Contact Role properties

If Debug Mode is enabled, each output item will also include debugRequest and debugResponse properties with the raw HTTP payloads.

Examples

Example 1: Update a Contact Role’s description and deactivate it

Set id to the role’s internal ID, set additionalFields.description to the new text, and set additionalFields.isInactive to true.

Example 2: Give a Contact Role a new name and add a custom field

Set id, set additionalFields.name to the new name, and add a custom field entry in customFields with the desired field name and value.

Example 3: Send the update request asynchronously

Set id and set additionalFields.Prefer to "respond-async" to have NetSuite process the request asynchronously.

Discussion