To familiarize yourself with NetSuite web services, we encourage you to download our sample applications, which are available in Java and C#. These are command-line driven applications that illustrate how to use some of the key features of the platform.
The C# sample applications require version 4.5 of the Microsoft .NET framework.
The Java sample applications require version 1.4 or higher of the Apache Axis framework and a NetSuite patch for cookie management (please see the NetSuite Help Center for details).
The sample applications contain both CRM and ERP samples.
SOAP web services developers can download sample applications from the links:
The PHP toolkit simplifies the process of developing integrations that use PHP 5.6 or later. With the help of the toolkit, major IDEs such as Eclipse can do auto-completion for records, field names, and operations and their arguments. This makes PHP programming with SuiteTalk faster and less error prone. All SOAP web services operations are supported in the toolkit. Additionally, the toolkit comes with a sample application modeled after a typical e-commerce integration.
Download the toolkit PHP_Toolkit_2023_1 file.
Unzip the file and save the toolkit files to the project folder in your IDE.
Start using the toolkit by adding a
require_oncestatement. For example:
Configure the connection parameters such as server, email, and password by modifying the defaults in the NSconfig.php file.
In the php.ini configuration file, in the section [Dynamic Extensions], add the following lines, if they do not already exist:
If you are configuring the PHP Toolkit to run on a Unix-based platform, change the Windows
.dll extension to a
For a Windows installation of PHP, change the caching directory to something similar to:
SOAP messages are logged in the PHPToolkit/nslog directory. If you do not want the messages logged, delete the directory.
For more information about the PHP toolkit, see SOAP Web Services PHP Toolkit.
Sample Files for REST Web Services
To familiarize yourself with REST web services, you can download a Postman environment template and a Postman sample request collection. The environment template and the sample collection illustrate how to set up your REST web services integration with NetSuite and demonstrate how to send REST requests to NetSuite.
For information about downloading and using the Postman environment template and samples, see Working with REST Web Services Using Postman.
- SuiteTalk SOAP Web Services Platform Overview
- SOAP Web Services Quick Start
- SOAP Web Services Development Considerations
- Enabling the SOAP Web Services Feature
- Setting the Show Internal IDs Preference
- Building an Application with Microsoft .NET
- Building an Application with Java using Apache Axis
- Capturing SOAP