NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Insert record

AI-generated

Summary

Insert a new Vendor record in NetSuite using the REST API with specified properties and custom fields.

Inputs

  • Authentication Method — Choose between OAuth1 and OAuth2 authentication methods (default is OAuth1).
  • Auto — Boolean to let NetSuite auto-assign a vendor name or enter manually.
  • Company Name — The vendor's legal company name (recommended if not using auto-generated numbering).
  • Entity ID — Supplier ID as it should appear in lists; auto-filled if using auto-generated numbering.
  • Email — Vendor's email address, used for online access if enabled.
  • Phone — Vendor's phone number (required for Online Bill Pay feature).
  • Additional Fields — Optional detailed vendor properties like address book, credit limit, custom forms, subsidiary, terms, and more.
  • Custom Fields — List of custom fields with names, types, and values to be set on the vendor record.
  • Debug Mode — Boolean to include full request and response info in the output for debugging.

Output shape

a single record representing the newly created Vendor, including the NetSuite-assigned internal ID and any returned metadata

If Debug Mode is enabled, additional request and response details are included in the output. The operation uses the NetSuite REST API endpoint POST /vendor and returns the created vendor's data as per standard NetSuite responses.

Examples

Example 1: Create vendor with company name and contact info

Sets company name, entity ID, email, and phone, letting NetSuite assign the vendor number automatically.

Example 2: Create vendor with detailed address and credit limit

Includes address book entries, credit limit, subsidiary, and terms in additional fields to define vendor details precisely.

Links

Discussion