NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cost Category → Update record

AI-generated

Summary

Update a Cost Category record in NetSuite via PATCH /costCategory/{id}.

Inputs

  • id (required) — Internal identifier of the Cost Category record to update.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method for the NetSuite REST API request. Default: oauth1. Options: OAuth1, OAuth2.
  • additionalFields — Additional fields to include or modify in the update request. Supported sub-fields: externalId, isInactive, id (string internal ID), itemCostType (collection with id/refName), longitemtype, name, Prefer (respond-async), refName, replace (sublist names), replaceSelectedFields, tname, X-NetSuite-Idempotency-Key, X-NetSuite-PropertyNameValidation, X-NetSuite-PropertyValueValidation. Default: {}.
  • customFields — List of custom fields to assign to the record. Each entry includes field name, type (boolean, dateTime, multiSelect, number, select, string), and corresponding value. Default: {}.

Output shape

The updated Cost Category record data, or error information. When isDebugMode is enabled, full request and response details are included in the output.

The operation sends a PATCH request to /costCategory/{id}. The authMethod parameter determines OAuth1 or OAuth2 signing. Idempotency can be controlled via the X-NetSuite-Idempotency-Key header. Asynchronous execution is supported via the Prefer: respond-async option.

Links

Discussion