NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Insert or update record

AI-generated

Summary

Insert or update a Vendor record in NetSuite by specifying the vendor's internal identifier and a set of optional fields including company, contact, address, and financial details. Supports OAuth1 or OAuth2 authentication and optionally returns detailed debug information of the request and response.

Inputs

  • id (required) — The internal identifier of the Vendor record to update.
  • authMethod — Authentication method to use for the request, either OAuth1 or OAuth2. Defaults to OAuth1.
  • additionalFields — Optional fields to set on the Vendor, such as company name, contact info, financial settings, custom fields, addresses, preferences, and other vendor-related properties.
  • customFields — Custom fields for the vendor record with field name, type, and value to extend standard properties.
  • isDebugMode — Flag to include full request and response information in the operation output for debugging purposes.

Output shape

a single JSON object representing the created or updated Vendor record as returned by the NetSuite API

If debugger mode is enabled, the output includes detailed request and response data alongside the standard vendor record. The operation expects a valid internal Vendor ID and optional data fields; unsupported or missing mandatory fields may cause errors. The returned data reflects the state of the Vendor after the insert/update operation.

Links

Discussion