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
| Method | Endpoint | Description |
|---|---|---|
| GET | /record/v1/customer/{id} | Retrieve a customer record by internal ID |
| POST | /record/v1/customer | Create a new customer record |
| PATCH | /record/v1/customer/{id} | Update an existing customer record |
| DELETE | /record/v1/customer/{id} | Delete a customer record |
| GET | /record/v1/salesOrder/{id} | Retrieve a sales order with line items and details |
| POST | /record/v1/salesOrder | Create a new sales order |
| GET | /record/v1/invoice/{id} | Retrieve an invoice record |
| POST | /record/v1/invoice | Create a new invoice from a sales order |
| GET | /record/v1/item/{id} | Retrieve an inventory item record |
| GET | /record/v1/vendor/{id} | Retrieve a vendor record |
| POST | /record/v1/journalEntry | Create a general ledger journal entry |
| GET | /query/v1/suiteql | Execute SuiteQL queries for advanced data retrieval |
| POST | /record/v1/customrecord_{scriptId} | Create a custom record instance |
| GET | /record/v1/employee/{id} | Retrieve an employee record |
| 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'
Connect NetSuite to AI
Deploy a NetSuite MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to NetSuite through these tools:
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
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy NetSuite MCP Server →