NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Refund → Get record

AI-generated

Summary

Retrieve a Customer Refund record by its internal ID

Inputs

  • id (required) — Internal identifier of the Customer Refund record to retrieve
  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method to use; options are OAuth1 or OAuth2
  • additionalFields — Collection of extra fields to include; currently supports expandSubResources and Prefer
  • expandSubResources — Set to true to automatically expand all sublists, sublist lines, and subrecords on this record
  • fields — Comma‑separated list of field names and sublists to return
  • Prefer — Server behavior request; use 'respond-async' to execute the request asynchronously
  • simpleEnumFormat — When true, enumeration values are returned as internal ID values only
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous requests; must be a UUID string

Output shape

a single Customer Refund record

Returned on success; optional fields can be added via expandSubResources and fields; id must be supplied; idempotency key is ignored for synchronous calls

Examples

Example 1: Fetch a specific refund record

Set Id to 98765, leave other defaults, enable Debug Mode if detailed logs are desired

Example 2: Asynchronous fetch with idempotency

Provide Id 11223, set X-NetSuite-Idempotency-Key to a UUID, set Prefer to respond-async

Example 3: Include expanded subresources and selected fields

Set expandSubResources to true, specify Fields as "email,transactions", leave other options unchanged

Links

Discussion