NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Refund → Update record

AI-generated

Summary

Patch a Customer Refund record in NetSuite by internal identifier, updating only the fields provided in the request body.

Inputs

  • id (required) — Internal identifier of the Customer Refund record to update.
  • externalId — External identifier to update the record's externalId field.
  • total — Refund amount; NetSuite updates the refund amount as Apply check boxes are selected.
  • status — Record status: R (Pending) or V (Voided).
  • customFields — Custom field values to set on the Customer Refund record.
  • replace — Comma-separated sublist names to replace all lines in specified sublists.
  • replaceSelectedFields — If true, all fields deleted in the update must be included in the 'replace' query parameter.
  • X-NetSuite-Idempotency-Key — Unique idempotency key for asynchronous request execution (RFC 4122 UUID). Only one request can be executed with every unique key.
  • authMethod — Authentication method: OAuth1 (default) or OAuth2.
  • isDebugMode — If true, full request and response information is included in the output.

Output shape

The updated Customer Refund record object.

When isDebugMode is enabled, the output includes full request and response details.

Examples

Example 1: Update the refund amount and status of a Customer Refund record.

Set the 'id' to the target record's internal identifier, 'total' to the new refund amount, and 'status' to 'V' to void the refund.

Links

Discussion