- 84 typed API operations
- 13 synced entities (
customerPayments,customers,employees,invoices,itemFulfillments,itemReceipts, and 7 more) for fast.search()/.list()
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- OAuth 2.0 (Recommended)
Open hub.corsair.dev, navigate to your project, and enter the client ID and client secret from your NetSuite OAuth app.NetSuite needs your account ID to build account-specific REST and OAuth URLs.More: OAuth 2.0
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List customer recordsQuery synced data
Synced entities supporttenant.netsuite.db.<entity>.search() and .list(): customerPayments, customers, employees, invoices, itemFulfillments, itemReceipts, items, journalEntries, purchaseOrders, salesOrders, vendorBills, vendorPayments, vendors.
See Database for filters and operators.
What’s next
API reference
Every
netsuite.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.