NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Classification → Insert record

AI-generated

Summary

Create a new Classification record in NetSuite, optionally setting details such as name, parent class, subsidiaries, translations, and custom fields.

Inputs

  • Debug Mode — Include full HTTP request and response information in the output.
  • Name (required) — The display name of the new classification.
  • External ID — A unique identifier for the classification.
  • Full Name — The full legal name of the classification.
  • Is Inactive — Mark the classification inactive so it no longer appears in lists.
  • Parent — Reference to a parent classification by internal or external ID.
  • Subsidiary — Reference to one or more subsidiaries the classification applies to.
  • Include Children — Associate the classification with all subsidiaries of the selected subsidiary.
  • Class Translation — Optional language‑specific display names for the classification.
  • Custom Fields — Key‑value pairs for any custom fields defined on the Classification record.
  • Prefer — Response preference (e.g., 'respond-async').
  • Ref Name — Reference name for the request.
  • Replace — Comma‑separated list of internal relationship names to replace.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Validation strictness for property names.
  • X-NetSuite-PropertyValueValidation — Validation strictness for property values.

Output shape

a single record containing the newly created Classification in NetSuite

If Debug Mode is enabled, the output also includes the raw HTTP request and response bodies.

Examples

Example 1: Create a basic classification

Name: "Assets"

Example 2: Create a classification with a parent and subsidiaries

Name: "Current Assets"; Parent: ID 123; Subsidiary: ID 456

Example 3: Create a classification with translations and debug

Name: "Liabilities"; Class Translation: {language: "en", locale: {id: "en_US"}, refName: "Liab"}; Debug Mode: true

Discussion