NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Non Inventory Purchase Item → Get record

AI-generated

Summary

Retrieve a Non Inventory Purchase Item record by its internal identifier, optionally including expanded sub-resources and selected fields, with support for asynchronous requests and debugging output.

Inputs

  • Id (required) — The internal identifier of the Non Inventory Purchase Item record to retrieve.
  • Debug Mode — Whether to include full request and response information in the output for troubleshooting.
  • Additional Fields — Optional parameters to customize the response: 'Expand Sub Resources' to automatically include all sublists and subrecords; 'Fields' to specify particular fields or sublists to return; 'Prefer' to request asynchronous execution of the call; 'Simple Enum Format' to simplify enumeration values to internal IDs; and 'X - Net Suite - Idempotency - Key' to provide a unique idempotency key for async requests.

Output shape

a single JSON record representing the requested Non Inventory Purchase Item, optionally including sub-resources and filtered fields, along with optional debug information if enabled

The operation returns the fetched record as a single item. If 'Debug Mode' is enabled, full HTTP request and response details are included in the output. Asynchronous requests can be triggered using the 'Prefer' parameter, with idempotency supported via the provided key. Fields and sublists can be selectively returned or fully expanded using additional parameters.

Discussion