NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Partner → Get list of records

AI-generated

Summary

Retrieve a list of Partner records from NetSuite with optional query filtering, pagination, and asynchronous request handling.

Inputs

  • Debug Mode — Set to true to include full request and response information in the output for debugging purposes.
  • Limit — Specify the maximum number of Partner records to return in one response page.
  • Offset — Specify the offset to select a specific page of Partner results.
  • Prefer — Set to 'respond-async' to execute the request asynchronously. Asynchronous requests return a 'Preference-applied: respond-async' in the response headers.
  • Q — Specify a search query string to filter the Partner records returned.
  • X-NetSuite-Idempotency-Key — Provide a unique UUID string to ensure the asynchronous request is executed only once. Ignored if the request is synchronous.

Output shape

a JSON array of Partner records or response metadata if Debug Mode is enabled

If Debug Mode is enabled, the output includes full HTTP request and response details. Pagination is controlled by the Limit and Offset parameters. Asynchronous request handling requires a unique idempotency key to avoid duplicate executions.

Examples

Example 1: Retrieve first 50 Partners filtered by query

Limit set to 50, Q set to filter string, Debug Mode off

Discussion