NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Category → Update record

AI-generated

Summary

Updates a customer category record in NetSuite via PATCH /customerCategory/{id}

Inputs

  • id (required) — Internal identifier of the customer category record to update. Required for the URL path parameter patch /customerCategory/{id}. Type: number.
  • isDebugMode — Whether to include full request and response info in the output. Type: boolean. Default: false.
  • authMethod — Authentication method for the API request. Options: OAuth1 (default) or OAuth2. Type: options. No data expression support.
  • additionalFields — Collection of fields to update on the customer category record. Relevant options: name (string, record name appearing in lists), externalId (string), isInactive (boolean, deactivates record removing all references), lastModifiedDate (dateTime), Prefer (options, 'respond-async' for async execution), refName (string), replace (string, sublist names to replace all lines), replaceSelectedFields (boolean, when true fields to delete must be included in 'replace' query parameter), X-NetSuite-Idempotency-Key (string, UUID per RFC 4122 for async dedup), X-NetSuite-PropertyNameValidation (options: Error/Warning/Ignore), X-NetSuite-PropertyValueValidation (options: Error/Warning/Ignore). Type: collection. Default: {}.
  • customFields — Fixed collection of custom fields to update on the record. Multiple values allowed. Each entry has fieldName (options loaded from NetSuite via loadCustomFields, required), fieldType (options: boolean/dateTime/multiSelect/number/select/string, required), and a value matching the field type (boolean, dateTime string, collection for multiSelect items with id/externalId, number, or string). Type: fixedCollection. Default: {}.

Output shape

The updated customer category record details. When isDebugMode is enabled, full request and response information is included in the node output.

Return shape not explicitly detailed in properties or source. Output includes standard n8n item structure with any returned data from the NetSuite API call.

Examples

Example 1: Update customer category name and mark as inactive

Set id to the target category's internal identifier, set name to the new name, set isInactive to true.

Links

Discussion