NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Classification → Insert or update record

AI-generated

Summary

Upsert a Classification record in NetSuite.

Inputs

  • id (required) — External identifier. Used as the record key for the PUT request.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method. Default OAuth1. Options: OAuth1, OAuth2.
  • name — Name for the class (max 60 chars, alphanumeric). Displays in lists on records and transactions.
  • includeChildren — Check to associate the class with all sub-subsidiaries associated with each subsidiary selected.
  • isInactive — Check to inactivate this class record; inactive classes do not show in lists.
  • subsidiary — Internal or external identifier of the subsidiary to associate with the class.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID). Ensures request executes only once for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation: Error, Warning, or Ignore.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation: Error, Warning, or Ignore.
  • customFields — List of custom field values to set on the classification. Supports boolean, dateTime, multiSelect, number, select, and string types.
  • replace — Names of sublists on this record. All sublist lines will be replaced with lines specified in the request. Names delimited by comma.
  • replaceSelectedFields — If true, all fields to be deleted in the update request must be included in the 'replace' query parameter.

Output shape

NetSuite classification record response. In debug mode, full request and response information is included in the output.

API endpoint: PUT /classification/{id}. The 'id' parameter is required and maps to the URL path segment. Optional parameters control authentication, record attributes (name, inactive status, subsidiary association), idempotency, validation strictness, sublist replacement, and custom field population.

Links

Discussion