NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Cost Revaluation → Insert or update record

AI-generated

Summary

Update an Inventory Cost Revaluation record in NetSuite by its internal or external ID.

Inputs

  • Id (required) — Internal or external identifier of the Inventory Cost Revaluation record to update.
  • Additional Fields — Collection of fields to set on the record, such as account, inventoryValue, unitCost, tranDate, etc. Each subfield can use internal or external identifiers for related records.
  • Custom Fields — Optional custom fields to include in the record, selectable from the custom record type.
  • Debug Mode — When true, the node outputs the full HTTP request and response details in addition to the record data.

Output shape

A JSON object containing the updated record data. In debug mode, the output also includes a debug field with request and response information.

If the specified ID does not exist, the operation may create a new record. The endpoint used is PUT /inventoryCostRevaluation/{id}.
Pagination is not applicable; the node returns a single item.

Examples

Example 1: Update an existing Inventory Cost Revaluation

Set Id to the record’s internal ID, set Additional Fields to adjust inventoryValue and unitCost, enable Debug Mode to see HTTP traffic.

Example 2: Create a new Inventory Cost Revaluation

Leave Id empty (NetSuite will generate a new ID), populate Required fields like tranDate and account, keep Debug Mode disabled.

Example 3: Add custom data to a record

Choose a Custom Record type and add Custom Fields entries, set Id to target record, then run the operation.

Discussion