NetSuite’s REST web services expose records as JSON and support SuiteQL, a SQL-like query language. From Boomi you can reach them in two ways:
- Boomi’s NetSuite REST connector (listed by Boomi as a tech preview at the time of writing), which uses token-based authentication signed with HMAC-SHA256; or
- the HTTP Client connector with OAuth 1.0, which works with any REST endpoint and is shown here.

Why bother with REST when the SOAP-based NetSuite connector already works well (see Connect NetSuite with Boomi (SOAP))? Three reasons come up again and again on projects. First, SuiteQL: being able to ask NetSuite a precise question — “vendor bills modified since yesterday, with their vendor’s external ID” — in one call is often simpler than building saved searches. Second, JSON everywhere: if the rest of your integration speaks JSON (an e-commerce API, a web app, a data platform), staying in JSON avoids XML-to-JSON conversions. Third, consistency across platforms: the same REST calls work from Boomi, Celigo, Workato, MuleSoft or plain code, which matters in organisations running more than one integration tool.
The trade-off is that you do more by hand. There is no schema import that builds profiles for every record, so you design request and response JSON profiles yourself. This guide covers the authentication carefully — it is where nearly everyone gets stuck — and then the patterns that make REST integrations pleasant to work with.
Part 1: prepare NetSuite
The token setup is the same as for SOAP, explained step by step in Connect NetSuite with Boomi (SOAP). The differences:
- In Setup → Company → Enable Features → SuiteCloud, enable REST Web Services (and Token-Based Authentication).
- Give the integration role the REST Web Services permission, plus Log in using Access Tokens and the record permissions it needs.
You end up with an account ID, a consumer key and secret, and a token ID and secret.
Everything said in the SOAP guide about the integration role applies here too: a dedicated integration user, a dedicated role with least privilege, subsidiary restrictions to watch for in OneWorld accounts, and secrets stored only in Boomi (as environment extensions), never in emails or tickets.
Part 2: the account-specific URL
Every NetSuite account has its own REST host:
https://<accountid>.suitetalk.api.netsuite.com/services/rest/record/v1
In the host name the account ID is lowercase with - instead of _, so the sandbox 1234567_SB1 becomes 1234567-sb1.
That small transformation is responsible for a surprising number of failed first attempts. Remember that there are now two spellings of the same account ID in play: the host name uses 1234567-sb1, while the OAuth realm (below) uses the original 1234567_SB1. Mixing them up produces an authentication error that looks identical to a wrong key.
Part 3: the HTTP Client connection with OAuth 1.0
| Field | Value |
|---|---|
| URL | https://1234567.suitetalk.api.netsuite.com/services/rest |
| Authentication | OAuth 1.0 |
| Consumer key / secret | from the integration record |
| Access token / token secret | from the access token |
| Realm | the account ID in its original form, for example 1234567_SB1 |
| Signature method | HMAC-SHA256 |

NetSuite no longer accepts HMAC-SHA1 for new integrations, so make sure the signature method is SHA-256. Boomi computes the timestamp, nonce and signature for every request.
Tip: Before configuring Boomi, make one successful call from Postman using its OAuth 1.0 authorisation helper. When Postman works and Boomi does not, compare the realm and the signature method first.
What OAuth 1.0 is doing behind the scenes
Every request carries an Authorization header with your consumer key, token ID, a timestamp, a random nonce, the realm and a signature. The signature is a hash of the request (method, URL and parameters) using your two secrets. NetSuite recomputes it and compares. That is why:
- Clock skew matters. If the runtime’s clock is far off, the timestamp is rejected. Keep the server’s time synchronised.
- The URL must match exactly. Query parameters are part of the signature; a parameter added outside Boomi’s knowledge (or encoded differently) breaks it.
- Nonces must be unique. Boomi handles this, but hand-built signatures in scripts often get it wrong — another reason to use the connection’s built-in OAuth support.
The general mechanics of connections and operations in the HTTP Client connector are covered in Make HTTP calls in Boomi.
Part 4: operations
| Task | Method | Resource path |
|---|---|---|
| Read a customer | GET | record/v1/customer/42 |
| Create a customer | POST | record/v1/customer |
| Update fields | PATCH | record/v1/customer/42 |
| Delete | DELETE | record/v1/customer/42 |
| Query with SuiteQL | POST | query/v1/suiteql |
Use a replacement variable for the record ID, as described in Make HTTP calls in Boomi.
Designing the JSON profiles
Because nothing is generated for you, take a real response from NetSuite (from Postman or a first test run) and import it to create the response profile. For requests, build the profile from the smallest JSON that works, and add fields as you need them. References to other records use objects with an id, for example a customer reference on a sales order:
{
"entity": { "id": "42" },
"subsidiary": { "id": "1" },
"externalId": "SHOP-100234",
"item": {
"items": [
{ "item": { "id": "317" }, "quantity": 2, "rate": 49.5 }
]
}
}
The REST API also lets you reference records by external ID in the URL path using the eid: prefix — for example record/v1/customer/eid:CRM-00981 — which is very handy when the source system’s key is all you have.
Updating safely with PATCH
PATCH updates only the fields you send. That makes it safer than replacing whole records: fields maintained by people in NetSuite are left alone. For sublists (lines on a transaction), check NetSuite’s documentation for the replace behaviour you need before you update lines on records that users also edit.
Creating records
A successful create returns HTTP 204 (no content) with the new record’s URL in the Location header, which ends with the internal ID. Capture it if later steps need the ID.
In Boomi, response headers can be captured into document properties on the HTTP operation; from there a Set Properties shape (or a short script) can extract the trailing ID. Store it on the source record — a NetSuite ID field on the Salesforce account, a column in the database — so that later updates can go straight to the right record.
SuiteQL queries
POST /services/rest/query/v1/suiteql
Prefer: transient
Content-Type: application/json
{"q": "SELECT id, companyname, email FROM customer WHERE lastmodifieddate > TO_DATE('2026-10-01', 'YYYY-MM-DD')"}
The response contains an items array plus paging fields. Request further pages with limit and offset query parameters until there are no more results.
A few habits make SuiteQL integrations robust:
- Select only the columns you need, and alias them to the names your map expects.
- Filter on
lastmodifieddatefor incremental syncs, and store the last successful run time in a persisted process property — the same pattern described in the Salesforce guide and implemented in DPP and DDP in Groovy. - Page deliberately. Each page returns up to a fixed maximum number of rows; loop until
hasMoreis false. In Boomi this is usually a small loop with a process property holding the offset, or a script that follows thelinks. - Order the results (for example by
id) so paging is stable while data changes. - Remember the role. SuiteQL respects the role’s permissions; a column or record the role can’t see is simply absent.
Parsing and reshaping the JSON results in Groovy is covered in Working with JSON in Groovy.
Troubleshooting
- 401 / INVALID_LOGIN: wrong realm format, HMAC-SHA1 instead of SHA-256, or a token for a different role.
- 403: the role lacks REST Web Services or record permissions.
- 400 on create: required fields missing; the response body explains which.
- 404 on a record you know exists: the role can’t see it (subsidiary or record restrictions), or the ID belongs to a different record type.
- Works in Postman, fails in Boomi: compare the realm, the signature method and any query parameters byte for byte.
NetSuite’s Web Services Usage Log and the Login Audit Trail (filtered to the integration user) show what NetSuite received and why a login failed — check them before changing keys.
SOAP or REST?
Use REST for JSON-native work, SuiteQL reporting queries and lightweight calls. Use the SOAP-based NetSuite connector when you want Boomi to import NetSuite’s full schema and generate profiles for you, or when you work heavily with saved searches.
Many real integrations use both. In a typical order flow, SuiteQL finds what changed, the SOAP connector creates complex transactions with generated profiles, and a small REST call writes a status back. Choosing per task, rather than per project, usually gives the simplest result.
Further reading
Need help with NetSuite APIs?
I build NetSuite integrations through Boomi, Celigo and direct APIs — including custom APIs over NetSuite records, as in the Proxy APIs for NetSuite Records project. The NetSuite ERP consultant page explains how I work, and you can reach me here.

Comments 0
No comments yet. Start the discussion.