NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Nexus → Insert or update record

AI-generated

Summary

Insert or update a Nexus record in NetSuite using a specified external identifier and various optional fields including custom fields and preferences.

Inputs

  • id (required) — External identifier of the Nexus record to insert or update.
  • additionalFields — Optional additional fields to include in the Nexus record, such as country, custom form, description, external/internal IDs, state, tax agency, and update preferences like 'replace' and validation settings.
  • customFields — List of custom fields to set on the Nexus record, each specifying the field name, type, and value.
  • isDebugMode — Boolean flag to include full request and response information in the output for debugging purposes.

Output shape

a single record

The operation returns the inserted or updated Nexus record data. If Debug Mode is enabled, the output also includes detailed request and response information.

Examples

Example 1: Insert a new Nexus record with external ID '12345' and custom fields

Set 'id' to '12345', specify custom fields as needed, optionally set additionalFields for more properties.

Discussion