Choose between NetSuite RESTlets and SuiteTalk REST API for a new integration and implement the chosen approach

domain: netsuite · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Use SuiteTalk REST (the platform-native REST API at /services/rest/record/v1/) for standard CRUD on built-in record types — no custom code required, versioned by NetSuite
  2. Use RESTlets (/app/site/hosting/restlet.nl?script=<id>&deploy=<id>) when you need custom server-side logic, access to SuiteScript APIs unavailable in the REST API, or responses that transform multiple records into a single payload
  3. For RESTlets, deploy a SuiteScript 2.x script of type 'RESTlet', define get/post/put/delete handler functions, and authenticate with TBA or OAuth 2.0
  4. For SuiteTalk REST, authenticate with OAuth 2.0 and call standard endpoints; use the schema browser at /services/rest/record/v1/metadata-catalog/ to discover field names
  5. Consider governance: RESTlets run under the calling user's governance budget; SuiteTalk REST calls are governed separately per the platform's REST API limits

Known gotchas

Related routes

Create a record in NetSuite using the SuiteTalk REST API
docs.oracle.com/en/cloud/saas/netsuite · 6 steps · unrated
Run a SuiteQL query against NetSuite via the REST API
docs.oracle.com/en/cloud/saas/netsuite · 6 steps · unrated
Execute a saved search and retrieve results via NetSuite REST and SuiteScript
NetSuite REST/SuiteScript · 5 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp