NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Contact Category → Insert or update record

AI-generated

Summary

Update a contact category in NetSuite by external identifier.

Inputs

  • id (required) — External identifier for the contact category.
  • isDebugMode — Whether to include full request and response info in the output. Default false.
  • authMethod — Authentication method. Default 'oauth1'. Options: OAuth1 (oauth1), OAuth2 (oauth2).
  • additionalFields — Additional contact category fields. Collection with options: name (string, enter name), externalId (string), isInactive (boolean, inactivate), id (string, internal ID), Prefer (options, 'respond-async' for async execution), private (boolean, user-only), refName (string), replace (string, sublist names comma-separated), replaceSelectedFields (boolean, require fields in 'replace' query), X-NetSuite-Idempotency-Key (string, RFC 4122 UUID for async requests), X-NetSuite-PropertyNameValidation (options, Error/Warning/Ignore), X-NetSuite-PropertyValueValidation (options, Error/Warning/Ignore).
  • customFields — List of custom fields for the contact category. Fixed collection, multiple values allowed. Each entry includes fieldName (options, required), fieldType (options, required: boolean, dateTime, multiSelect, number, select, string), and value (boolean, dateTime, number, collection with id/externalId, or string, per fieldType).

Output shape

Returns success status and, if isDebugMode is enabled, full request and response information. Async execution governed by Prefer header and idempotency key.

PUT /contactCategory/{id} updates an existing contact category by external ID. If the ID does not exist, NetSuite behavior depends on configuration; the operation maps to this PUT endpoint as declared in displayOptions.

Links

Discussion