NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Order → Get record

AI-generated

Summary

Retrieve a single Purchase Order record from NetSuite by its internal identifier, optionally customizing the response.

Inputs

  • id (required) — Internal identifier of the Purchase Order record to retrieve.
  • isDebugMode — Set to true to include full HTTP request and response details in the output.
  • authMethod — Authentication method to use for the request, either OAuth1 or OAuth2.
  • expandSubResources — Set to true to expand all sublists, sublist lines, and subrecords on the Purchase Order.
  • fields — Comma-separated names of specific fields and sublists on the Purchase Order record to return.
  • Prefer — Preference to request server to respond asynchronously with 'respond-async' or synchronously by default.
  • simpleEnumFormat — Set to true to return enumerated values showing only the internal ID.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests to ensure one-time execution; ignored for synchronous requests.

Output shape

a single Purchase Order record object returned by the NetSuite REST API including requested fields and subresources

If debug mode is enabled, the output includes detailed HTTP request and response information. Asynchronous request execution is possible with 'respond-async' preference and idempotency key parameters. The returned record respects field selection and expansion options provided.

Links

Discussion