Connect to AI
ERP OAuth 2.0

NetSuite REST API

Cloud ERP with RESTful web services for business management

NetSuite provides a comprehensive cloud ERP platform with REST APIs for managing financials, CRM, e-commerce, and inventory. Developers use NetSuite's RESTlet and SuiteTalk REST web services to integrate business processes, automate workflows, and synchronize data across enterprise systems. The API enables programmatic access to customers, transactions, items, and custom records.

Base URL https://{{account_id}}.suitetalk.api.netsuite.com/services/rest

API Endpoints

MethodEndpointDescription
GET/record/v1/customer/{id}Retrieve a customer record by internal ID, including contact and billing details.
POST/record/v1/customerCreate a new customer record with required fields such as company name and subsidiary.
PATCH/record/v1/customer/{id}Update an existing customer record by internal ID, modifying fields like status or credit limit.
DELETE/record/v1/customer/{id}Delete a customer record by internal ID, permanently removing it from NetSuite.
GET/record/v1/salesOrder/{id}Retrieve a sales order with line items and details
POST/record/v1/salesOrderCreate a new sales order with customer, items, and shipping information.
GET/record/v1/invoice/{id}Retrieve an invoice record by internal ID, including line items and payment terms.
POST/record/v1/invoiceCreate a new invoice from a sales order
GET/record/v1/item/{id}Retrieve an inventory item record by internal ID, returning SKU, pricing, and stock levels.
GET/record/v1/vendor/{id}Retrieve a vendor record by internal ID, including payment terms and contact information.
POST/record/v1/journalEntryCreate a general ledger journal entry
GET/query/v1/suiteqlExecute SuiteQL queries for advanced data retrieval
POST/record/v1/customrecord_{scriptId}Create a custom record instance using the scriptId to specify the custom record type.
GET/record/v1/employee/{id}Retrieve an employee record by internal ID, returning role, department, and supervisor details.
GET/record/v1/subsidiary/{id}Retrieve a subsidiary record for multi-entity management

Code Examples

curl -X GET 'https://1234567.suitetalk.api.netsuite.com/services/rest/record/v1/customer/12345' \
  -H 'Authorization: Bearer oauth_token_here' \
  -H 'Content-Type: application/json' \
  -H 'prefer: transient'

Use NetSuite from Claude / Cursor / ChatGPT

Get a hosted MCP endpoint for NetSuite. Paste your NetSuite API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls NetSuite directly with your credentials — no local install, works on mobile.

get_customer Retrieve customer information by ID or search criteria including contact details, addresses, and transaction history
create_sales_order Create a new sales order with line items, customer information, and pricing details
query_transactions Execute SuiteQL queries to retrieve invoices, sales orders, payments, and other transaction records with flexible filtering
update_inventory Update inventory item records including quantities, pricing, and item details
get_financial_data Retrieve financial records including journal entries, account balances, and subsidiary financial data for reporting

Connect in 60 seconds

Paste your NetSuite key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.

Connect NetSuite to your AI →

Related APIs