NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Sales Order → Get record

AI-generated

Summary

Fetch a sales order record from NetSuite by its internal identifier, optionally including expanded sub-resources and custom selections of fields.

Inputs

  • Id (required) — The internal identifier of the sales order record to retrieve.
  • Authentication Method — Select the authentication method (OAuth1 or OAuth2) for the API request.
  • Debug Mode — Enable to include full request and response details in the output for debugging purposes.
  • Additional Fields — Optional parameters to expand sublists/subrecords, specify fields to return, request asynchronous response, control enum formatting, and set idempotency keys for async requests.

Output shape

a single sales order record object with fields as specified or all if expanded sub-resources requested

The output includes the sales order data according to the Additional Fields parameters: if 'Expand Sub Resources' is true, all sublists and subrecords are included; if 'Fields' is specified, only those fields and sublists are returned. If 'Debug Mode' is enabled, additional request and response metadata are included. The 'Prefer' option allows asynchronous execution with idempotency support. Errors or API response details may be included depending on debug settings.

Examples

Example 1: Retrieve a specific sales order by its internal Id

Set resource to Sales Order, operation to Get record, and enter the internal Id of the sales order record you want to fetch. Optionally, enable Debug Mode to see the request details.

Links

Discussion