NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Campaign Response → Insert or update record

AI-generated

Summary

Inserts or updates a NetSuite Campaign Response record.

Inputs

  • id (required) — External identifier of the Campaign Response record to insert or update (used in the URL path).
  • isDebugMode — When true, includes full request and response details in the node output.
  • authMethod — Authentication method for NetSuite requests (oauth1 or oauth2).
  • externalId — External identifier for the record.
  • campaignResponseDate — Date the campaign was sent.
  • newResponseDate — Date of this campaign response.
  • newResponseTime — Time of this campaign response.
  • note — Note about this campaign response.
  • refName — Reference name (used for various subrecords).
  • replace — Comma‑delimited list of sublists whose lines should be replaced.
  • replaceSelectedFields — If true, all fields to delete must be listed in the replace query parameter.
  • response — Response status of the campaign response (enum of possible values).
  • responses — Array of response items, each containing author, date/time, notes, reference name, and response status.
  • additionalFields — Group of sub‑records linked to the campaign response (campaignEvent, channel, entity, leadSource, plus id/externalId).
  • customFields — List of custom fields to set on the record (field name, type, and value).
  • X-NetSuite-Idempotency-Key — Idempotency key for asynchronous requests (UUID). Ignored for synchronous calls.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation (Error, Warning, Ignore).
  • Prefer — Server behavior requested; use 'respond-async' for asynchronous execution.

Output shape

The NetSuite API response for the inserted or updated Campaign Response record. When isDebugMode is true, the output also contains the full request and response details.

The node constructs a PUT request to /campaignResponse/{id} using the provided parameters as the request body (after flattening nested collections and custom fields).

Links

Discussion