NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Opportunity → Get record

AI-generated

Summary

Retrieve a single Opportunity record by its internal identifier, with options to customize the fields returned, expand sub-resources, and control server response behavior.

Inputs

  • Authentication Method — Select OAuth1 or OAuth2 authentication for the API request.
  • Id (required) — The internal identifier of the Opportunity record to retrieve.
  • Additional Fields — Optional parameters including: 'Expand Sub Resources' to include all sublists and subrecords; 'Fields' to specify which fields and sublists to return; 'Prefer' to request asynchronous response behavior; 'Simple Enum Format' to return enumeration values only as internal IDs; and 'X-NetSuite-Idempotency-Key' for asynchronous request idempotency.
  • Debug Mode — Enable to include full HTTP request and response details in the output for troubleshooting.

Output shape

A single Opportunity record object matching the specified 'Id' with fields limited or expanded based on additional parameters.

If 'Debug Mode' is enabled, the output includes HTTP request and response details under a debug property. Using 'Prefer' set to 'respond-async' will execute the request asynchronously and requires the 'X-NetSuite-Idempotency-Key' for idempotency. Only one request per unique idempotency key is executed. The returned record respects the 'Fields' and 'Expand Sub Resources' options for customizing data depth and breadth.

Links

Discussion