NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Cash Refund → Insert or update record

AI-generated

Summary

Update an existing Cash Refund record in NetSuite using its external identifier.

Inputs

  • Id (required) — The external identifier of the Cash Refund record to update.
  • Additional Fields — Provides various standard fields for the Cash Refund record. This includes financial details like Account, Currency, Exchange Rate, Discount Amount, and Total; date-related fields such as Date and Sales Effective Date; categorization fields like Class, Department, Location, and Subsidiary; address information like Billing Address and Shipping Address; and other transaction details like Memo, Client Message, PO/Check Number, and Sales Rep. It also includes the Item sublist for specifying multiple refund items with their quantities and rates. Specific options like 'Replace' (for sublists), 'Replace Selected Fields', 'Prefer' (for asynchronous execution), and NetSuite-specific headers (Idempotency Key, Property Name/Value Validation) can also be configured here.
  • Custom Fields — Allows setting values for custom fields on the Cash Refund record. For each custom field, specify its Field Name, Field Type (Boolean, Date Time, Multi Select, Number, Select, String), and the Value.
  • Debug Mode — Set to 'true' to include full request and response information in the output.

Output shape

A single updated Cash Refund record object.

If 'Debug Mode' is enabled, the output will also include the full request and response details.

Examples

Example 1: Update the memo of an existing cash refund.

Set 'Id' to the cash refund's external ID, and provide a 'Memo' under 'Additional Fields'.

Example 2: Adjust the quantity of an item on a cash refund.

Set 'Id', enable 'Replace' for the 'item' sublist, and provide the complete 'Item' list with updated 'quantity' for the relevant item under 'Additional Fields'.

Example 3: Update a specific custom field on a cash refund.

Set 'Id', and under 'Custom Fields', add an entry with the 'Field Name', 'Field Type', and new 'Value' for the custom field.

Discussion