NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Campaign → Insert or update record

AI-generated

Summary

Inserts or updates a NetSuite Campaign record via a PUT to /campaign/{id}. If the campaign exists, it is updated; otherwise a new record is created.

Inputs

  • Id (required) — The internal or external identifier of the campaign to update. Used in the URL path.
  • Authentication Method — Select OAuth1 or OAuth2 for authenticating the NetSuite request.
  • Debug Mode — When true, includes the full request and response details in the node output.
  • Prefer — Set to 'respond-async' to execute the request asynchronously; NetSuite returns a 202 with a location header for polling.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests; ignored for synchronous calls.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation.
  • Additional Fields — Collection of standard Campaign fields such as title, description, startDate, endDate, cost, etc., organized in sub‑collections (Campaign Direct Mail, Campaign Drip, Campaign Email, Campaign Event, etc.).
  • Custom Fields — List of custom field objects, each with fieldName (selected from available custom fields), fieldType (string, number, dateTime, boolean, select, multiSelect), and a matching value.

Output shape

object

The Campaign record as returned by NetSuite after the insert/update operation. If Debug Mode is enabled, the output also contains the request details and raw response.

Links

Discussion