NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Credit Card Refund → Update record

AI-generated

Summary

Patch an existing Credit Card Refund record by its internal ID, optionally updating any of its fields.

Inputs

  • id (required) — Internal identifier of the Credit Card Refund record to update.
  • additionalFields — Optional fields to update on the Credit Card Refund, such as account, amount, balance, class, cleared, currency, customForm, date, department, entity, exchangeRate, expense lines, external ID, internal ID, item lines, location, memo, postingPeriod, subsidiary, and control headers like Prefer and idempotency key.
  • customFields — Custom field values to add or update on the Credit Card Refund record.
  • isDebugMode — If true, includes full request and response information in the output.

Output shape

a single record containing the updated Credit Card Refund data

If Debug Mode is enabled, the output will include request and response details alongside the record. Failure returns a NodeOperationError with HTTP error details.

Examples

Example 1: Update the amount and memo of a credit card refund

Set "id" to the record’s internal ID, in "additionalFields" set "amount" to the new value and "memo" to a description. Execute the node.

Example 2: Mark a refund as cleared on a specific date

Provide the record ID, and in "additionalFields" set "cleared" to true and "clearedDate" to the desired date. Execute the node.

Example 3: Add a custom field value to a refund

Set the record ID, add the custom field in "customFields" by selecting the field name and giving a value, then run the node.

Discussion