NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Contact → Update record

AI-generated

Summary

Patches a NetSuite contact record by internal ID. Required: id. Optional parameters control authentication, debug output, and sublist/field replacement behavior.

Inputs

  • id (required) — Internal identifier of the contact record to update.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method. Options: OAuth1 (default), OAuth2.
  • replace — Comma-delimited names of sublists whose lines will be replaced with those specified in the request.
  • replaceSelectedFields — When true, all fields to be deleted in the update request must be included in the replace query parameter.
  • customFields — List of custom field updates (name-value pairs with type-specific values).
  • isInactive — When true, the contact no longer appears on the Contacts list and cannot be selected from transaction lists.
  • email — Contact's email address. Enables direct emailing from the Contacts list and event invitations.
  • firstName — Contact's first name. Required for Online Bill Pay; appears first in the Contact field.
  • lastName — Contact's last name. Required for Online Bill Pay; appears last in the Contact field.
  • phone — Primary phone number for the contact. Appears in the Contacts list and company Contact section.
  • company — Company identifier or external ID linking this contact to a company record.
  • subsidiary — Subsidiary identifier or external ID for the contact's subsidiary affiliation.
  • unsubscribe — When true, the contact has unsubscribed from email marketing campaigns.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID) ensuring asynchronous requests execute only once.
  • X-NetSuite-PropertyNameValidation — Sets strictness of property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Sets strictness of property value validation: Error, Warning, or Ignore.

Output shape

The updated NetSuite contact record object returned by the API, or an error response if the update fails.

Authentication defaults to OAuth1 unless authMethod is set to OAuth2. The id parameter is required as the path parameter in patch /contact/{id}.

Examples

Example 1: Update a contact's email and mark as inactive.

Set id to the contact's internal ID, email to the new address, and isInactive to true.

Links

Discussion