NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Contact Role → Insert or update record

AI-generated

Summary

Upserts a Contact Role record in NetSuite via PUT /contactRole/{id}. Required: external id. Optional: debug mode, auth method, additional fields, and custom fields.

Inputs

  • id (required) — External identifier for the Contact Role record.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method. Default: OAuth1. Options: OAuth1, OAuth2.
  • additionalFields — Collection of optional fields: description (string), isInactive (boolean), externalId (string), id (string, internal), lastModifiedDate (dateTime), Prefer (options: or respond-async), refName (string), replace (sublist names comma-separated), replaceSelectedFields (boolean), name (Role, string), X-NetSuite-Idempotency-Key (string), X-NetSuite-PropertyNameValidation (options: Error/Warn/Ignore), X-NetSuite-PropertyValueValidation (options: Error/Warn/Ignore).
  • customFields — Fixed collection (multiple values allowed) of custom fields. Each entry has a fieldName (options, loads from NetSuite), fieldType (boolean, dateTime, multiSelect, number, select, string), and a typed value field. Multi-select values include items with id and externalId.

Output shape

object

Returns the NetSuite Contact Role record updated via PUT. When isDebugMode is true, the output includes full request and response details.

Links

Discussion