NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Message → Insert or update record

AI-generated

Summary

Insert or update a NetSuite 'Message' record by specifying its external identifier along with optional fields and custom fields.

Inputs

  • id (required) — External identifier of the 'Message' record to insert or update.
  • isDebugMode — Whether to include full request and response information in the output for debugging.
  • authMethod — Authentication method to use; options are 'OAuth1' (default) or 'OAuth2'.
  • additionalFields — Optional additional fields of the 'Message' record such as author, activity, recipients, subject, message content, dates, flags (e.g., incoming, emailed), related entities and transactions, and various NetSuite-specific options and headers to control server behavior and validation.
  • customFields — List of custom fields to set on the message record, each specifying the field name, type, and value.

Output shape

a single record

Returns the inserted or updated 'Message' record data. If 'Debug Mode' is enabled, includes full request and response details in the output. Supports asynchronous request execution if configured via the 'Prefer' additional field.

Links

Discussion