NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Update record

AI-generated

Summary

Update a Vendor record in NetSuite by specifying its internal ID and providing the fields to modify, including optional custom fields and additional vendor details.

Inputs

  • id (required) — The internal identifier of the Vendor record to update.
  • additionalFields — An optional collection of vendor attributes and details to update, such as company name, contact info, addresses, credit limits, email preferences, and various custom properties.
  • customFields — Optional user-defined custom fields to update on the Vendor record, each specified by field name, type, and value.
  • isDebugMode — Whether to include full request and response information in the output for debugging purposes.
  • authMethod — The authentication method to use for the NetSuite API call, either OAuth1 or OAuth2.

Output shape

a JSON object representing the updated Vendor record as returned by the NetSuite REST API, possibly including full request/response details if debug mode is enabled.

The output contains the updated Vendor data according to the fields specified. Debug info is included only if Debug Mode is enabled. The operation requires the internal Vendor ID. Custom fields must be specified with field type and value.

Examples

Example 1: Update a vendor's company name and email with debug info enabled.

Set 'id' to vendor internal ID, provide 'additionalFields' with 'companyName' and 'email', set 'isDebugMode' to true.

Links

Discussion