NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Inventory Number → Get record

AI-generated

Summary

Retrieve a specific Inventory Number record from NetSuite by its internal ID, optionally including additional fields or preferences to control the response format and expansion of related sub-resources.

Inputs

  • Id (required) — Internal identifier of the Inventory Number record to retrieve.
  • Debug Mode — Enable to include full request and response details in the output for debugging purposes.
  • Authentication Method — Choose between OAuth1 or OAuth2 authentication methods.
  • Additional Fields — Optional settings to customize the response, including expanding sub-resources, selecting specific fields or sublists, preferred server behavior (e.g., asynchronous response), simple enum format, and specifying an idempotency key for asynchronous calls.

Output shape

A single Inventory Number record object containing requested fields and sublists.

If Debug Mode is enabled, the output includes detailed HTTP request and response information. When 'Expand Sub Resources' is set, all sublists and subrecords are fully included. The 'Fields' option limits the returned data to specified field names only. Using the 'Prefer' option with 'respond-async' executes the request asynchronously, affecting response headers. The 'X-NetSuite-Idempotency-Key' applies only when 'respond-async' is used, ensuring request idempotency.

Examples

Example 1: Fetch Inventory Number with ID 12345 including all sublists expanded and using OAuth2 authentication.

Set 'Id' to 12345, enable 'Expand Sub Resources', and select 'OAuth2' for Authentication Method.

Links

Discussion