NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Contact Category → Insert record

AI-generated

Summary

Create a new Contact Category in NetSuite via its REST API.

Inputs

  • isDebugMode — Add request and response details to the node output.
  • name — The category name.
  • externalId — An external identifier for the category.
  • isInactive — Set the category as inactive.
  • id — Internal ID of the record (ignored on insert).
  • Prefer — Client preference header; e.g. ‘respond-async’ for asynchronous execution.
  • private — Mark the category as private.
  • refName — Reference name of the category.
  • replace — Comma‑separated names of sublists to replace.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for async requests.
  • X-NetSuite-PropertyNameValidation — Override property‑name validation strictness.
  • X-NetSuite-PropertyValueValidation — Override property‑value validation strictness.
  • customFields — List of custom fields (name, type, value).

Output shape

single record object

The payload returned by NetSuite is the created Contact Category. When Debug Mode is enabled, each item also includes 'request' and 'response' objects with full HTTP details; otherwise these are omitted.

Examples

Example 1: Create a basic Contact Category

name: "Customer Support"
externalId: "custcat_001"
isInactive: false
debug mode: off

Example 2: Create a private, inactive category with custom fields

name: "Legacy"
private: true
isInactive: true
customFields:

  • fieldName: "priority"
    fieldType: "Select"
    value:
    internalId: "1"
    debug mode: off

Example 3: Insert with async processing and debug info

name: "Async Category"
Prefer: "respond-async"
X-NetSuite-Idempotency-Key: "uuid-1234"
debug mode: on

Discussion