NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Order → Get record

AI-generated

Summary

Retrieve a single Sales Order record from NetSuite by its internal identifier, optionally customizing the returned fields and response behavior.

Inputs

  • Id (required) — Provide the internal identifier of the Sales Order to fetch.
  • Debug Mode — Optionally include full request and response info in the output for debugging.
  • Expand Sub Resources — Set to true to expand all sublists, sublist lines, and subrecords within the Sales Order record.
  • Fields — Specify a comma-separated list of field and sublist names to return only those parts of the record.
  • Prefer — Set the server behavior; e.g., 'respond-async' to execute the request asynchronously.
  • Simple Enum Format — Set to true to return enumeration values showing only the internal ID value.
  • X - Net Suite - Idempotency - Key — A UUID string used as an idempotency key for asynchronous requests to ensure single execution.

Output shape

a single Sales Order record object

The returned object includes fields as specified; if Debug Mode is enabled, output includes full request and response details. Asynchronous execution via the Prefer parameter returns a response indicating the operation is queued.

Discussion