NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Purchase Item → Get record

AI-generated

Summary

Retrieve a Service Purchase Item record from NetSuite by its internal identifier, optionally customizing the returned fields and including detailed request/response debug information.

Inputs

  • Id (required) — The internal identifier of the Service Purchase Item record to retrieve.
  • Debug Mode — Set to true to include full request and response information in the output for debugging purposes.
  • Additional Fields — Optional parameters to customize the request, including expanding all sub-resources, selecting specific fields and sublists to return, requesting asynchronous execution with 'Prefer', returning enumeration values in simplified format, and providing an idempotency key for async requests.

Output shape

a single record object representing the Service Purchase Item with requested fields and sub-resources as specified, or an asynchronous response if requested.

If 'Debug Mode' is enabled, the output includes full request and response details. Using the 'Prefer' field with 'respond-async' triggers asynchronous processing. Fields and sublists can be filtered via 'Fields' and 'Expand Sub Resources' options respectively. The output shape varies accordingly.

Discussion