NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Count → Get list of records

AI-generated

Summary

Retrieve a list of Inventory Count records from NetSuite via the SuiteTalk REST API.

Inputs

  • Debug Mode — Include full request and response information in the output when set to true.
  • Limit — Specify the maximum number of records returned in a single page.
  • Offset — Specify the starting point for the results to enable pagination.
  • Prefer — Request server‑side behavior; choose 'respond-async' to run the query asynchronously.
  • Q — Search query used to filter returned records.
  • X-NetSuite-Idempotency-Key — Unique key for asynchronous requests to guarantee single execution. Ignored for synchronous calls.

Output shape

An array of inventory count records (each record contains the fields returned by NetSuite).

When Debug Mode is enabled, the output also contains 'request' and 'response' objects with full HTTP details. If the Prefer header is set to 'respond-async', the response will include the header 'Preference-applied: respond-async' and may return immediately with a status indicating the job is queued.

Examples

Example 1: Retrieve a full list of inventory counts.

Use default parameters with no limits or filters.

Example 2: Paginate results, fetching the first 10 records.

Set Limit to 10.

Example 3: Filter inventory counts where the name field contains 'Widget'.

Set Q to "Widget".

Discussion