NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subsidiary → Get record

AI-generated

Summary

Retrieve a single Subsidiary record from NetSuite by its internal identifier.

Inputs

  • Id (required) — The internal identifier of the Subsidiary record to retrieve.
  • Debug Mode — Include full request and response details in the output when enabled.
  • Additional Fields — Optional parameters to customize the response, including:
  • Expand Sub Resources: Automatically expand all sublists, lines, and subrecords.
  • Fields: Specify which fields and sublists to return.
  • Prefer: Request asynchronous execution with 'respond-async'.
  • Simple Enum Format: Return enum values as internal IDs only.
  • X - Net Suite - Idempotency - Key: Provide a unique key to ensure asynchronous request idempotency.

Output shape

A single Subsidiary record object with requested fields and optional expanded sub-resources; optionally includes full request/response info if Debug Mode is enabled.

If 'respond-async' is used, the operation executes asynchronously with relevant headers returned. The output structure varies if Debug Mode is enabled to include request/response metadata.

Examples

Example 1: Retrieve basic Subsidiary record by ID

Set Id to the target Subsidiary internal ID, leave Additional Fields unset for full record.

Example 2: Retrieve Subsidiary with expanded sublists

Set Id and enable 'Expand Sub Resources' to true in Additional Fields to include all nested sublists in response.

Discussion