NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Opportunity → Get record

AI-generated

Summary

Retrieve a single Opportunity record from NetSuite by its internal Id, optionally customizing the returned fields and response format.

Inputs

  • Id (required) — The internal identifier of the Opportunity record to fetch.
  • Debug Mode — If enabled, includes full request and response information in the output for debugging purposes.
  • Additional Fields — Optional parameters to control the response, including expanding sub-resources, restricting returned fields, choosing async execution, formatting enum values, and providing an idempotency key.

Output shape

A single Opportunity record object, optionally including expanded sub-resources or limited to specified fields, along with debug information if enabled.

The output includes either the full record data or a subset based on 'Fields' and 'Expand Sub Resources' options. If 'Debug Mode' is true, the output also contains full request and response details. Using 'Prefer' with 'respond-async' executes the request asynchronously. The 'X-NetSuite-Idempotency-Key' is used only for async requests to ensure request uniqueness.

Discussion