Docs Index
netsuite connector.md

Proof Card: NetSuite Connector

Status: production Last verified: 2026-07-29 · git sha c6e11bcf

Claim

NetSuiteConnector is a real client for the NetSuite SuiteTalk REST Web Services API. It signs every request with OAuth 1.0a HMAC-SHA256 using the shared oauth1Helper.ts primitive (no library wrapper around fixtures), targets the live *.suitetalk.api.netsuite.com host, and has been exercised against sandbox account TSTDRV2698307. CRUD on records (create, read, update, delete) and SuiteQL search are all wired to the live REST API — there is no demo-mode fallback inside this connector.

Source

Tests

Live vs Fixture

Known Gaps

Verification (60-second AI-reviewer recipe)

npm test -- tests/unit/__tests__/NetSuiteConnector.test.ts
npm test -- tests/unit/utils/oauth1Helper.test.ts
grep -n "suitetalk.api.netsuite.com\|getOAuth1AuthorizationHeader" src/connectors/NetSuiteConnector.ts src/utils/oauth1Helper.ts

The grep proves NetSuite isn't a fixture wrapper: the base URL is the live SuiteTalk host, and every request goes through the OAuth1 signing primitive that lives in a separately-tested utility module.

For the live-credential proof itself (requires sandbox secrets):

NETSUITE_LIVE_TESTS=1 \
NETSUITE_ACCOUNT_ID=... NETSUITE_CONSUMER_KEY=... NETSUITE_CONSUMER_SECRET=... \
NETSUITE_TOKEN_ID=... NETSUITE_TOKEN_SECRET=... \
  npm run test:netsuite:live

Or trigger the credential-gated CI workflow: gh workflow run netsuite-live.yml.