NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Expense Category → Update record

AI-generated

Summary

Update an existing Expense Category record in NetSuite by specifying its internal ID and providing the fields to modify, including custom fields if needed.

Inputs

  • Id (required) — The internal identifier of the Expense Category record to update.
  • Authentication Method — Specify the authentication method to use, either OAuth1 or OAuth2.
  • Additional Fields — Optional fields to update such as Default Rate, Description, Expense Account, External ID, Inactive status, Name, Personal Corporate Card Expense flag, Rate Required flag, Rates, Reference Name, Replace sublist names, Replace Selected Fields flag, Subsidiary, Translations, and others.
  • Custom Fields — List of custom fields to update on the Expense Category.
  • Debug Mode — Enable to include full request and response details in the output for debugging.
  • X - Net Suite - Idempotency - Key — User-defined unique idempotency key for asynchronous request execution to ensure one-time execution.
  • X - Net Suite - Property Name Validation — Set the strictness level of property name validation: Error, Warning, or Ignore.
  • X - Net Suite - Property Value Validation — Set the strictness level of property value validation: Error, Warning, or Ignore.

Output shape

a single record updated response

The operation returns the updated Expense Category record data. If Debug Mode is enabled, full HTTP request and response details are included in the output. Supports setting custom fields and handles conditional replacement of sublist lines. Errors and warnings can be controlled via property validation settings.

Examples

Example 1: Update the name and description of an expense category with internal ID 1234.

Provide Id=1234, Additional Fields with Name and Description set to new values.

Example 2: Set an expense category as inactive and update its default rate with custom fields.

Provide Id, set 'Inactive' flag, specify 'Default Rate', and include any relevant custom fields.

Links

Discussion