NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Promotion Code → Get list of records

AI-generated

Summary

Retrieve a list of Promotion Code records from NetSuite with optional pagination, search filtering, asynchronous execution, and idempotency control.

Inputs

  • Debug Mode — Toggle to include full request and response information in the output for debugging purposes.
  • Limit — Maximum number of promotion code records to return per page.
  • Offset — Index offset for selecting a specific page of results.
  • Prefer — Request server behavior; select 'respond-async' to execute the request asynchronously.
  • Q — Search query string to filter the list of promotion codes.
  • X - Net Suite - Idempotency - Key — Unique UUID string to ensure idempotent execution of asynchronous requests only; ignored for synchronous requests.

Output shape

a list of Promotion Code records potentially including full request and response details if Debug Mode is enabled

Supports pagination via Limit and Offset; asynchronous execution if 'Prefer' is set to 'respond-async' with idempotency key support for safe retries; debug output expands response details.

Discussion