NetSuite Integration Guide
This section covers how to integrate external systems with NetSuite using modern authentication and API methods.
Integration Methods
| Method | Use Case | Authentication |
|---|---|---|
| REST API (SuiteQL) | Query data, CRUD operations | OAuth 2.0 / TBA |
| RESTlets | Custom endpoints | OAuth 2.0 / TBA |
| SOAP Web Services | Legacy integrations | TBA |
| SuiteTalk REST | Standard record operations | OAuth 2.0 |
Authentication Options
OAuth 1.0 Token-Based Authentication (TBA)
Traditional authentication method, easier to set up:
- Consumer Key/Secret - From Integration record
- Token ID/Secret - Per user/role access tokens
- No token expiry - Tokens remain valid until revoked
OAuth 2.0 (Modern)
Modern authentication supporting:
- Client Credentials Flow - For server-to-server integrations (requires certificate)
- Authorization Code Flow - For user-delegated access
Getting Started
- OAuth 1.0 (TBA) Setup Guide - Token-Based Authentication (simpler setup)
- OAuth 2.0 Setup Guide - Modern OAuth 2.0 with certificates
- RESTlet Development (Coming Soon)
- SuiteQL REST API (Coming Soon)
Quick Links
| Topic | Description |
|---|---|
| OAuth 1.0 (TBA) Setup | Token-Based Authentication setup |
| OAuth 2.0 Setup | OAuth 2.0 with Client Credentials |
| SDF Deployment | Deploy integration scripts |
| RESTlet Script Type | Build custom API endpoints |
Choosing an Authentication Method
| Criteria | OAuth 1.0 (TBA) | OAuth 2.0 |
|---|---|---|
| Setup Complexity | Simple | Moderate (requires certificate) |
| Token Expiry | Never expires | Expires (needs refresh) |
| Best For | Long-running integrations | Modern M2M applications |
| Postman Testing | Easy (built-in OAuth 1.0) | Requires JWT generation |
| Security | Good | Better (short-lived tokens) |