NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Message → Insert or update record

AI-generated

Summary

Insert or update a Message record in NetSuite identified by its external 'id', with optional detailed message and recipient attributes, and custom fields.

Inputs

  • id (required) — External identifier for the Message record to insert or update.
  • Debug Mode — Enable to include full request and response information in the operation output.
  • Additional Fields — Optional message properties including author, recipients (To, CC, BCC), subject, message content, date/time, related activity, transaction, and message flags such as emailed, incoming, HTML format, and attachments.
  • Custom Fields — A list of custom fields to set on the Message record, specifying each field's name, type, and value.

Output shape

a single JSON object representing the inserted or updated Message record.

The operation returns details of the created or updated record. If 'Debug Mode' is enabled, includes comprehensive request and response data. The 'id' input identifies the Message record; all other fields are optional for setting or updating properties.

Discussion