NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Credit Memo → Get list of records

AI-generated

Summary

Retrieves a paginated list of Credit Memo records from NetSuite, optionally returning the request and response details.

Inputs

  • isDebugMode — Include full request and response information in each output item.
  • limit — Maximum number of Credit Memo records returned per page.
  • offset — Offset for selecting a specific page of results.
  • Prefer — Server behavior. Set to 'respond-async' to execute the request asynchronously.
  • q — Search query string for filtering Credit Memo records.
  • X-NetSuite-Idempotency-Key — Unique identifier for asynchronous requests to ensure idempotent execution.

Output shape

a list of Credit Memo records (JSON objects); each item contains the record fields.

When Debug Mode is enabled, each record includes additional fields containing raw request and response data. Pagination is controlled via limit and offset query parameters; the endpoint may return a subset of total records.

Examples

Example 1: Retrieve the first 50 Credit Memo records

isDebugMode: false, limit: 50, offset: 0, Prefer: '', q: ''

Example 2: Search Credit Memos for a specific customer ID

q: "custbody_customer_id:12345", limit: 20

Example 3: Run an asynchronous request to retrieve Credit Memos and preserve idempotency

Prefer: respond-async, X-NetSuite-Idempotency-Key: 'a1b2c3d4-e5f6-7890-1234-567890abcdef'

Discussion