Custom Celigo APIs over NetSuite standard records, so a web app can read orders and create vendor bills and purchase orders.
Sometimes the system that needs NetSuite data isn’t another off-the-shelf product but a company’s own web application. The obvious approach — give the web app NetSuite credentials and let it call NetSuite directly — spreads ERP logic and secrets into a codebase that wasn’t built for them. This project took a cleaner route: a small layer of purpose-built APIs in Celigo, sitting in front of NetSuite.
The challenge
A web application needed to read orders from NetSuite and create vendor bills and purchase orders there, through simple APIs.
“Simple” is the key word. NetSuite’s own APIs are powerful but detailed: authentication with signed requests, internal IDs, sublists, record-specific rules. A web developer shouldn’t need to learn all of that to show a list of orders or submit a vendor bill. The goal was an interface that speaks the web app’s language and keeps NetSuite’s complexity on the integration side.
How it works
- NetSuite connection. Created a NetSuite connection in Celigo.
- Read API. Created a NetSuite export that retrieves orders and serves them to the web app through an API.
- Write APIs. Created Celigo APIs that create vendor bills and purchase orders.
- Use from the web app. The web app calls these APIs to create the records in NetSuite.
Design decisions
A proxy layer in front of the ERP
The web app talks only to the Celigo APIs; Celigo talks to NetSuite. This is the API-led idea in miniature — the same thinking behind MuleSoft’s system and process APIs, described on the MuleSoft integration consultant page. NetSuite credentials and access rules live in one controlled place, and the web app never sees them.
Read and write as separate, focused endpoints
Reading orders is one API; creating vendor bills and purchase orders are others. Each endpoint does one job, which makes it easy to secure, test and change independently. If NetSuite’s side changes, the endpoints can be adjusted without touching the web app, as long as the contract stays the same.
Shapes that suit the consumer
The APIs return and accept data in a form that suits the web app, while the integration translates to NetSuite’s records and IDs behind the scenes. Designing that contract carefully — field names, required values, error responses — is most of the work in an API project, and it’s what makes the result pleasant to use.
Highlights
- Proxy/API layer in front of NetSuite (API-led design).
- Read and write operations exposed as simple endpoints.
Things that matter in an integration like this
- Clear errors. An API consumer needs to know whether a request failed because of bad input (fix it) or a temporary problem (try again) — see the status-code table in Make HTTP calls in Boomi.
- Idempotent writes. If the web app retries a “create bill” request, it shouldn’t create two bills.
- Version the contract. Changing an API that a web app depends on needs care; versioning lets both sides move at their own pace.
- Mind the limits. Every API call eventually reaches NetSuite, so batching and sensible paging protect the ERP’s concurrency limits.
The result
The web app works with NetSuite through clean, purpose-built APIs, and NetSuite access stays in one controlled place.
At a glance
| Built with | Celigo API |
|---|---|
| Systems | Web app ↔ NetSuite |
| NetSuite records | Orders, Vendor Bills, Purchase Orders |
| Engagement | Freelance |
Related reading
- REST API design & development — how I approach API projects
- Connect NetSuite with Boomi (REST) — NetSuite’s REST API and SuiteQL
- Celigo integration consultant
Need your own application to work with NetSuite cleanly? Get in touch.



