NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Location → Get list of records

AI-generated

Summary

Retrieve a list of Location records from NetSuite with optional pagination, filtering, and asynchronous execution support.

Inputs

  • Debug Mode — Enable to include full request and response info in the output for troubleshooting.
  • Limit — Specify the maximum number of Location records to return in a single page.
  • Offset — Specify the offset to select a specific page of Location results.
  • Prefer — Request server behavior; set to 'respond-async' to execute the request asynchronously.
  • Q — Supply a search query string to filter the Location records returned.
  • X-NetSuite-Idempotency-Key — A unique UUID string to ensure idempotency for asynchronous requests, preventing duplicate execution.

Output shape

a list of Location record objects, possibly paginated depending on Limit and Offset parameters

If Debug Mode is enabled, the output includes full request and response details alongside the record data. Asynchronous requests with 'respond-async' Prefer header may return status info indicating processing rather than immediate data.

Discussion