NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Adjustment → Get record

AI-generated

Summary

Fetch a single inventory adjustment record by its internal ID, optionally filtering fields, expanding subresources, and configuring async execution.

Inputs

  • isDebugMode — Include full HTTP request and response information in the output if set to true.
  • id (required) — Internal identifier of the inventory adjustment to retrieve.
  • additionalFields — Optional settings to control the returned data: select specific fields, expand sublists/subrecords, request async execution, simplify enum values, and provide an idempotency key for async calls.

Output shape

a single inventory adjustment record (JSON object)

If "expandSubResources" is true, all sublists, sublist lines, and subrecords are included. When "fields" is specified, only those fields are returned. With "simpleEnumFormat" enabled, enumeration values appear as internal IDs. If "Prefer" is set to "respond-async", the request may be processed asynchronously; the response will contain a "Preference-applied: respond-async" header. Debug mode adds the raw request/response details to the output.

Examples

Example 1: Retrieve a basic inventory adjustment record

id=12345, no additionalFields, isDebugMode=false.

Example 2: Retrieve selected fields and expand subresources

id=12345, additionalFields.fields="availableQuantity,location", additionalFields.expandSubResources=true.

Example 3: Make an async request with idempotency key

id=12345, additionalFields.Prefer=respond-async, additionalFields.X-NetSuite-Idempotency-Key=8f1e2c4a-7b9d-4c3e-af12-123456789abc.

Discussion