A REST API and webhooks for Oracle NetSuite
Connect NetSuite to Portal and create an API key under Developers. Your systems call one versioned REST API for NetSuite customers, items, prices, orders, quotes, invoices and shipments, and get signed webhooks when they change.
About Oracle NetSuite.
Oracle NetSuite is a cloud ERP that runs finance, order management, inventory and CRM in one hosted system. NetSuite started selling cloud software in 1998 and Oracle bought it in 2016.
Accounts are sold on service tiers. Contracts signed since June 2020 use the Standard, Premium, Enterprise and Ultimate tiers, and the tier sets how many integration requests the account can run at the same time.
There is no server to install. Every integration reaches NetSuite over the internet through its web services, so the questions are about access, roles and limits rather than networks.
Portal by Webisoft is a B2B portal for Oracle NetSuite: customer self-service and team apps on live NetSuite data.
Why connecting to NetSuite is hard.
NetSuite has real APIs, but you inherit the shared concurrency pool, the move from SOAP to REST, and the OAuth setup for every app.
One shared pool of concurrent requests
NetSuite governs integration traffic per account, and SOAP, REST and RESTlet requests all draw from the same pool. The base limit is 5 concurrent requests on Standard, 15 on Premium and 20 on Enterprise and Ultimate, plus 10 for each SuiteCloud Plus license. Every integration you add competes with the ones you already run.
SOAP is being retired
Oracle says the 2025.2 SOAP endpoint is the last one, that new integrations should use REST with OAuth 2.0 from 2026.1, and that SOAP stops working with the 2028.2 release. Older integrations built on SOAP or token-based authentication need a rewrite before then.
Authentication rules keep tightening
New RESTlets can no longer use a user name and password, and support for token-based authentication on RESTlets ends in 2028.2. Each integration needs its own role, permissions and OAuth setup, maintained by someone who knows NetSuite administration.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native NetSuite add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the NetSuite write rules yourself. |
| Custom code | The need is unique and you have developers who know NetSuite. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live NetSuite data. | It works on top of NetSuite; it does not replace it. |
How Portal reaches NetSuite.
Portal reads NetSuite with SuiteQL over the REST web services and writes through the REST record API, so it does not depend on SOAP. Your administrator creates an integration record and an access token in NetSuite and enters the four token values plus the account ID in Portal. Sandbox accounts work too.
Every document Portal creates in NetSuite carries an external ID, and Portal looks that ID up before each create, so a retried order is never entered twice. Credit hold is checked before an order goes in.
What you need.
- A NetSuite administrator who can create an integration record, a role and an access token
- Your NetSuite account ID, and the sandbox account ID if you test there first
- An admin in Portal to create API keys and webhook endpoints
Step by step.
Your Portal team sets up the NetSuite connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Create the NetSuite integration and token
In NetSuite, an administrator creates an integration record with token-based authentication, a role for the integration user with access to REST web services and the records Portal reads, and an access token for that user. In Portal, under Setup, ERP, ERP system, choose NetSuite and enter the consumer key and secret, the token ID and secret and your account ID, then choose Test connection. Sandbox account IDs work the same way.
Create a restricted key
In Developers, API keys, choose Create restricted key and tick only the scopes your app needs, for example orders and catalog.
Call the API
Send requests to /v1/ with the bearer key and the Portal-Version header. Orders you POST are written as a NetSuite sales order; send an Idempotency-Key so a retry never places the order twice.
Listen for changes
In Developers, Webhooks, add an endpoint for events such as order.confirmed and shipment.updated, which fire as NetSuite confirms orders and ships them.
What syncs with NetSuite.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | No | Credit hold from the customer record |
| Items | Yes | No | Inventory, non-inventory, service, kit and assembly items |
| Price levels and customer item pricing | Yes | No | Including quantity breaks |
| Stock by location | Yes | No | |
| Estimates (quotes) | Yes | Yes | An accepted estimate is transformed into a sales order |
| Sales orders | Yes | Yes | |
| Invoices | Yes | No | |
| Customer payments | Yes | Yes | Applied to the invoices that were paid |
| Item fulfillments | Yes | No | With tracking numbers |
| Return authorizations | Yes | Yes | |
| Purchase orders | Yes | Yes | Update dates, quantities and close lines; no new POs |
What you can do next.
- Your e-commerce site posts orders to Portal and receives order.confirmed with the NetSuite order number.
- A warehouse app reads stock by NetSuite location and prices through the API instead of querying NetSuite directly.
NetSuite questions, answered.
Does Portal use the NetSuite SOAP web services?
No. Portal reads with SuiteQL and writes with the REST record API, the technology Oracle says replaces SOAP, so the SOAP removal planned for 2028.2 does not affect it.
Is this the NetSuite API?
No. It is Portal's API, the same for every ERP; Portal handles NetSuite behind it.
Can I test without touching our ERP?
Yes. The test sandbox copies your customers, catalog, prices and stock onto a demo ERP, and test keys work only there.
Keep going.
- One REST API for your ERP: overview
- B2B portal for Oracle NetSuite
- Connect an AI agent to your ERP, Oracle NetSuite
- Automate order entry from email, Oracle NetSuite
- Take invoice payments online, Oracle NetSuite
- Give customers order status, Oracle NetSuite
- Build a B2B ordering portal, Oracle NetSuite
- Quotes customers accept online, Oracle NetSuite
- Triage a shared inbox, Oracle NetSuite
- Add approval workflows, Oracle NetSuite