NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Location → Get record

AI-generated

Summary

Retrieve a single Location record from NetSuite by its internal identifier (Id) with optional customization of the returned fields and response behavior.

Inputs

  • Id (required) — Internal identifier of the Location record to retrieve.
  • Debug Mode — Include full request and response details in the output when enabled.
  • Additional Fields — Optional parameters to customize the request, including expanding sub-resources, specifying which fields to return, setting asynchronous response preference, enabling simple enum format, and providing an idempotency key for async requests.

Output shape

A single Location record from NetSuite with the fields as requested, plus optionally full request and response info if Debug Mode is enabled.

The response can be customized by setting Additional Fields such as 'Fields' to limit returned properties or 'Expand Sub Resources' to include all sublists and related data. The 'Prefer' option allows asynchronous execution with corresponding idempotency key usage. The output shape generally includes the Location record data; enabling Debug Mode adds detailed request/response metadata.

Discussion