NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Item Revision → Insert or update record

AI-generated

Summary

Insert or update an Item Revision record in NetSuite by specifying its external identifier and providing desired fields and custom fields to set or modify.

Inputs

  • id (required) — External identifier of the Item Revision record to insert or update.
  • additionalFields — Optional fields including Effective Date, External ID, Inactive status, Memo, Name, and others to specify details about the Item Revision.
  • customFields — List of custom fields to include with the record, each specified by field name, type, and value.
  • isDebugMode — Whether to include full request and response information in the operation output.

Output shape

a single record representing the inserted or updated Item Revision, including the fields provided and potentially additional metadata

Supports asynchronous execution via the 'Prefer' additional field; if debug mode is enabled, full request and response details are included in the output. Custom fields are supported and can have various data types. The unique external id ('id') is required to identify the record to insert or update.

Examples

Example 1: Update an existing Item Revision with new name and set it inactive

Set 'id' to the record's external id, provide 'Name' and 'Inactive' fields in Additional Fields.

Discussion