Vendor

A vendor is a company or person you purchase goods and services from. Vendor records track information about your vendors and enable you to view past transactions and communications with them. For information about working with vendor records in the UI, see Vendor Records Overview.

NetSuite exposes the vendor record to REST web services. This record enables you to manage a specific vendor record.

All elements on this record are accessible through REST web services.

The REST API Browser includes information about the field names and field types of the vendor record. It also includes the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s vendor reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for a vendor REST record is vendor.

Code Samples

The following code sample shows how to retrieve information about a specific vendor record with the id 94:

            GET https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/vendor/94 

          

The following code sample shows how to create a new vendor record:

            POST https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/vendor
{ "id": "95", "legalName": "AU Vendor"
} 

          

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices