NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Bom Revision → Update record

AI-generated

Summary

Update an existing NetSuite BOM Revision record by its internal ID, applying partial changes to its standard and custom fields.

Inputs

  • Id (required) — The internal identifier of the BOM Revision record to update.
  • Additional Fields — Specify standard fields to update, such as the Bill of Materials, components (including quantity, item, and yield), custom form, effective start/end dates, name, memo, and inactive status.
  • Custom Fields — Add or update custom fields by specifying the field name, type (Boolean, Date Time, Multi Select, Number, Select, String), and corresponding value.
  • Prefer — Request asynchronous execution of the update operation by setting this to 'respond-async'.
  • Replace — Provide a comma-separated list of sublist names (e.g., 'component') whose existing lines should be entirely replaced by the lines specified in the request.
  • Replace Selected Fields — If true, any fields intended for deletion (including body fields and sublist lines) must be explicitly included in the 'Replace' parameter.
  • X - Net Suite - Idempotency - Key — A unique key (UUID format) to ensure asynchronous requests are executed only once. Ignored for synchronous requests.
  • X - Net Suite - Property Name Validation — Set the strictness for validating property names in the request payload (Error, Warning, or Ignore).
  • X - Net Suite - Property Value Validation — Set the strictness for validating property values in the request payload (Error, Warning, or Ignore).

Output shape

A single record representing the updated BOM Revision.

The output will contain the details of the updated BOM Revision record. If 'Debug Mode' is enabled, the output will also include detailed request and response information. NetSuite's API may return a subset of fields in the response rather than the full record.

Examples

Example 1: Update the name and memo of an existing BOM Revision.

Set 'Id' to the BOM Revision's internal ID, 'Name' to 'Revised Grill BOM', and 'Memo' to 'Updated for Q3 production changes' in 'Additional Fields'.

Example 2: Mark a BOM Revision as inactive.

Provide the BOM Revision 'Id' and set 'Inactive' to true under 'Additional Fields'.

Example 3: Adjust the quantity of a specific component within a BOM Revision.

Specify the BOM Revision 'Id', then in 'Additional Fields' under 'Component' > 'Items', add the component by its 'Internal ID' and update its 'Quantity'.

Discussion