NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Inventory Cost Revaluation → Insert or update record

AI-generated

Summary

Insert or update an Inventory Cost Revaluation record in NetSuite by specifying the record's id and optionally supplying fields to modify or add.

Inputs

  • id (required) — The external identifier of the Inventory Cost Revaluation record to update.
  • Debug Mode — Determines if full request and response details are included in output for debugging.
  • Authentication Method — Chooses OAuth1 or OAuth2 for authenticating the API request.
  • Additional Fields — Various optional fields to define or modify details of the Inventory Cost Revaluation such as Account, Accounting Book Detail, Adjustment Amount, Class, Cost Component, Costing Method, Currency Precision, Custom Form, Dates, Department, Item details, Location, Memo, Posting Period, Subsidiary, transaction reference, and other related record attributes.
  • Custom Fields — List of custom fields with their names, types, and corresponding values to be included in the record update.

Output shape

a single updated record object.

The response contains the updated Inventory Cost Revaluation record data. If Debug Mode is enabled, full request and response information will be included in the output for troubleshooting. The operation uses the HTTP PUT method at endpoint /inventoryCostRevaluation/{id}, requiring the id parameter. Optional headers can be set, including idempotency key, property name and value validation strictness, and async response preference.

Examples

Example 1: Update a revaluation's memo and adjustment amount by specifying its external ID.

Set resource to Inventory Cost Revaluation, operation to Insert or update record, specify the ID parameter, and provide memo and total (adjustment amount) in Additional Fields.

Example 2: Add custom fields while updating an Inventory Cost Revaluation record.

Provide the Custom Fields collection with field names, types, and values in addition to mandatory ID parameter.

Links

Discussion