NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Price Level → Get list of records

AI-generated

Summary

Retrieve a list of Price Level records from the NetSuite REST API with optional filtering, pagination, and asynchronous request handling.

Inputs

  • isDebugMode — Enable to include detailed request and response information in the output for debugging purposes.
  • authMethod (required) — Select the authentication method to use, either OAuth1 (default) or OAuth2.
  • additionalFields.limit — Specify the maximum number of Price Level records to return in one response page.
  • additionalFields.offset — Specify the number of records to skip for paging through long result sets.
  • additionalFields.Prefer — Request server behavior; set to 'respond-async' to execute the request asynchronously.
  • additionalFields.q — Provide a search query string to filter returned Price Level records.
  • additionalFields.X-NetSuite-Idempotency-Key — Set a unique UUID string to ensure asynchronous requests are executed only once; ignored for synchronous requests.

Output shape

a JSON object containing the list of Price Level records matching the input criteria, possibly including full request and response details if debug mode is enabled.

Supports pagination through 'limit' and 'offset' parameters. The 'Prefer' header enables asynchronous execution, with idempotency key support for safe retries. Debug mode augments output with request and response metadata.

Examples

Example 1: Retrieve up to 20 Price Level records matching a search query with synchronous execution.

Set 'q' to the desired filter string, 'limit' to 20, 'Prefer' left empty or unset, 'isDebugMode' false.

Example 2: Fetch Price Level records asynchronously with idempotency to avoid duplicate processing.

Set 'Prefer' to 'respond-async', provide a UUID string in 'X-NetSuite-Idempotency-Key', and optionally set 'isDebugMode' true to debug.

Links

Discussion