NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cash Refund → Insert or update record

AI-generated

Summary

Insert or update a NetSuite Cash Refund record

Inputs

  • Id (required) — Internal or external identifier of the Cash Refund record to upsert. If the record does not exist, a new record is created; otherwise it is updated.
  • entity — Customer or entity associated with the refund (internal/external identifier).
  • tranDate — Date of the cash refund transaction.
  • total — Total amount of the refund.
  • memo — Memo describing the refund.
  • customFields — Array of custom field objects (fieldName, fieldType, value) to set on the record.
  • isDebugMode — When true, includes the full request and response details in the node output.
  • authMethod — Authentication method: OAuth1 or OAuth2.
  • Prefer — Set to 'respond-async' to execute the request asynchronously.
  • X-NetSuite-Idempotency-Key — Idempotency key for asynchronous requests to guarantee single execution.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation: Error, Warning, Ignore.
  • X-NetSuite-PropertyValueValidation — Strictness of property value validation: Error, Warning, Ignore.

Output shape

object

Returns the created or updated Cash Refund record. When isDebugMode is true, also includes request and response objects.

Examples

Example 1: Upsert a cash refund for a customer

Set Id to the external ID of the refund (or leave blank to create), provide entity, tranDate, total, and memo as needed.

Links

Discussion