NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Non Inventory Purchase Item → Get record

AI-generated

Summary

Retrieve a single Non Inventory Purchase Item record from NetSuite by its internal ID, optionally customizing the returned fields and response behavior.

Inputs

  • id (required) — Internal identifier of the Non Inventory Purchase Item record to retrieve.
  • isDebugMode — Include full request and response details in the output for debugging purposes.
  • authMethod — Authentication method to use for the request, either OAuth1 or OAuth2.
  • additionalFields.expandSubResources — Set to true to automatically expand all sublists, sublist lines, and subrecords on the record.
  • additionalFields.fields — Comma-separated names of specific fields and sublists to return in the response.
  • additionalFields.prefer — Server behavior requested by the client; use 'respond-async' to execute the request asynchronously.
  • additionalFields.simpleEnumFormat — Return enumeration values showing only the internal ID value.
  • additionalFields.X-NetSuite-Idempotency-Key — A unique idempotency key for asynchronous requests to ensure execution only once; ignored for synchronous requests.

Output shape

a single Non Inventory Purchase Item record object from NetSuite, optionally including expanded sub-resources or limited fields

If 'respond-async' is selected, response includes asynchronous execution headers. Debug mode adds detailed request and response information. Errors are returned if the record ID is invalid or access fails.

Examples

Example 1: Retrieve a Non Inventory Purchase Item record by ID, including all sublists expanded.

Set 'id' to the target record's internal ID and enable 'Expand Sub Resources'.

Example 2: Fetch only specific fields of a purchase item record without expanding sublists.

Set 'id' with the record ID and specify desired field names in 'Fields' under Additional Fields.

Links

Discussion