NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Merchandise Hierarchy Version → Get record

AI-generated

Summary

Retrieve a specific Merchandise Hierarchy Version record from NetSuite by its internal identifier, optionally including expanded sub-resources and selecting specific fields.

Inputs

  • id (required) — The internal identifier of the Merchandise Hierarchy Version record to retrieve.
  • isDebugMode — Whether to include full request and response debugging information in the output.
  • authMethod — The authentication method to use, either OAuth1 or OAuth2 (default is OAuth1).
  • expandSubResources — If set to true, automatically expand all sublists, sublist lines, and subrecords on the record.
  • fields — Comma-separated names of the fields and sublists to return; only these selected parts will be included in the response.
  • Prefer — Request server behavior; can be set to 'respond-async' to execute the request asynchronously.
  • simpleEnumFormat — If true, enumeration values are returned showing only the internal ID value.
  • X-NetSuite-Idempotency-Key — A UUID string to ensure the request executes only once if run asynchronously; ignored for synchronous requests.

Output shape

a single Merchandise Hierarchy Version record object as returned by NetSuite

The output includes the requested fields and optionally expanded sub-resources. When debug mode is enabled, the output also contains detailed request and response data. The operation supports asynchronous execution via the 'Prefer' header and idempotency with a user-supplied key.

Examples

Example 1: Retrieve a Merchandise Hierarchy Version by ID with all sublists expanded.

Set 'id' to the internal record ID and enable 'Expand Sub Resources'. Optional fields and debug are left default.

Example 2: Get a specific record with selective fields.

Set 'id' to the record ID and specify the desired 'Fields' parameter with comma-separated field names to limit the response data.

Links

Discussion