NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Credit → Insert or update record

AI-generated

Summary

Insert or update a Vendor Credit record in NetSuite by specifying the record's external ID and providing relevant fields and sublists, including optional custom fields and detailed address, item, and accounting information.

Inputs

  • id (required) — External identifier for the Vendor Credit record to update.
  • additionalFields — Optional collection of properties to define or update the Vendor Credit's details such as account info, amounts, billing address, memo, dates, classes, currency, items, apply details, subsidiary, and other standard Vendor Credit fields.
  • customFields — Optional list of custom fields to add or update on the Vendor Credit record with support for various field types like boolean, dateTime, multiSelect, number, select, and string.
  • isDebugMode — Boolean flag to include full request and response information in the output for debugging purposes.

Output shape

a single record

Returns the created or updated Vendor Credit record. When Debug Mode is enabled, the output includes full details of the request and response for troubleshooting. Supports asynchronous execution preferences and idempotency keys for request control.

Discussion