NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Partner → Get record

AI-generated

Summary

Retrieve a Partner record from NetSuite by its internal identifier, optionally expanding sub-resources and customizing the fields returned.

Inputs

  • Id (required) — The internal identifier of the Partner record to retrieve.
  • Debug Mode — Enable to include full request and response details in the output for debugging purposes.
  • Expand Sub Resources — Set to true to automatically expand all sublists, sublist lines, and subrecords linked to the Partner record.
  • Fields — A comma-separated list of specific fields and sublists on the Partner record to return. If omitted, default fields are returned.
  • Prefer — Set to 'respond-async' to request asynchronous execution from the server. Responses will include a 'Preference-applied: respond-async' header when applied.
  • Simple Enum Format — Set to true to return enumeration values showing only their internal ID representation.
  • X - Net Suite - Idempotency - Key — A unique UUID string ensuring a single execution of asynchronous requests. Ignored for synchronous requests.

Output shape

A single Partner record object containing the requested fields and any expanded sub-resources, or an asynchronous response if requested.

If Debug Mode is enabled, the output includes detailed request and response information. Asynchronous requests require a unique idempotency key and will indicate server acceptance with a 'Preference-applied' header.

Discussion