NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Opportunity → Update record

AI-generated

Summary

Update an existing Opportunity record in NetSuite using the record's internal identifier and optional detailed fields to modify.

Inputs

  • Id (required) — Internal identifier of the Opportunity record to update.
  • Additional Fields — Optional fields to update on the Opportunity record including details such as billing/shipping addresses, items, status, related entities, dates, probabilities, and custom attributes.
  • Custom Fields — Custom field values to include in the Opportunity update, supporting various field types (boolean, dateTime, multiSelect, number, select, string).
  • Debug Mode — Flag to include full request and response information in the output for debugging purposes.

Output shape

A single updated Opportunity record object or an asynchronous job response if executed with async preference.

The operation updates the Opportunity record identified by the given 'Id' with provided fields. If 'Debug Mode' is enabled, detailed request/response data is included. Supports asynchronous execution with 'respond-async' preference, returning an idempotency key if provided. The output reflects the updated record state after the operation.

Discussion