NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Nexus → Insert or update record

AI-generated

Summary

Insert or update a Nexus record in NetSuite using a specified external ID as the record identifier, optionally setting various record fields and custom fields.

Inputs

  • id (required) — External identifier of the Nexus record to insert or update.
  • isDebugMode — Boolean flag to include full request and response details in the output for debugging.
  • authMethod — Method of authentication to use with NetSuite: OAuth1 or OAuth2.
  • additionalFields — Optional fields to set on the Nexus record, including Country, Custom Form, Description, External ID, Internal ID, Prefer header value for async execution, Reference Name, Replacement instructions, State, and Tax Agency details.
  • customFields — List of custom fields with their names, types, and values to apply to the Nexus record.

Output shape

a single record representing the NetSuite Nexus resource after the insert or update operation

If Debug Mode is enabled, the output includes full request and response data for troubleshooting. The request requires the external ID 'id' to identify the record. The operation maps to an HTTP PUT on the '/nexus/{id}' endpoint in NetSuite REST API, thus replacing/updating the record or creating it if it does not exist.

Links

Discussion