NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Number → Get list of records

AI-generated

Summary

Retrieve a paginated list of NetSuite Inventory Number records, optionally filtered, limited, or executed asynchronously.

Inputs

  • isDebugMode — Include raw request and response objects in the output if true.
  • limit — Maximum number of records to return per page.
  • offset — Position of the first record in the current page.
  • Prefer — Server behavior requested; set to 'respond-async' to process the request asynchronously.
  • q — Search query string to filter Inventory Number records.
  • X-NetSuite-Idempotency-Key — Unique UUID used for async requests to guarantee idempotence.

Output shape

an array of Inventory Number record objects (JSON). Each object contains the record fields returned by NetSuite.

Results are paginated; use limit and offset to navigate. When debug mode is enabled, each output item also includes a debug field with the full HTTP request and response data. Asynchronous requests return a placeholder indicating the request was scheduled; the actual result may need to be fetched from the NetSuite async endpoint.

Examples

Example 1: Fetch the first 20 Inventory Number records

limit: 20, offset: 0

Example 2: Request Inventory Number records asynchronously with idempotency

Prefer: respond-async, X-NetSuite-Idempotency-Key:

Example 3: Search for Inventory Numbers containing 'ABC'

q: 'ABC'

Discussion