NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Credit Card Refund → Insert or update record

AI-generated

Summary

Update or insert a NetSuite credit card refund record by external identifier.

Inputs

  • id (required) — External identifier of the credit card refund record to update or insert.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method for the NetSuite API. Options: OAuth1 (default), OAuth2.
  • additionalFields — Collection of additional fields to include in the refund record update.
  • userTotal — Dollar amount of the transaction. NetSuite adjusts the amount as line items are added or edited.
  • total — Total amount field for the credit card transaction.
  • balance — Balance displayed for the associated account.
  • class — Classification collection for the refund record.
  • cleared — Boolean indicating whether the refund has been cleared. Default: false.
  • currency — Currency collection for the refund transaction.
  • customForm — Custom form collection for the refund record.
  • tranDate — Posting date for the credit card transaction. NetSuite defaults to today's date; a custom date can be provided.
  • memo — Optional memo text to describe the credit card transaction; appears on reports.
  • postingPeriod — Posting period collection for the refund record.
  • Prefer — Optional header value. Use 'respond-async' to execute the request asynchronously.
  • X-NetSuite-Idempotency-Key — User-defined unique idempotency key (RFC 4122 UUID format) to ensure asynchronous requests execute only once.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation. Options: Error, Warning, Ignore (default blank).
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation. Options: Error, Warning, Ignore (default blank).
  • replace — Comma-delimited names of sublists on the record. All sublist lines will be replaced with lines specified in the request.
  • replaceSelectedFields — If true, all fields deleted in the update request must be included in the 'replace' query parameter.
  • customFields — Fixed collection of custom fields to assign to the credit card refund record. Supports multiple values.

Output shape

NetSuite credit card refund record response.

With isDebugMode enabled, full request and response details are included in the n8n item output. Standard API response contains the updated/inserted refund record details.

Examples

Example 1: Update an existing credit card refund record by its external ID with a new memo and amount.

Set id to the external ID, userTotal to the desired amount, memo to the description text, and leave isDebugMode at default false.

Links

Discussion