NetSuite
API Information
The Base URL used for the NetSuite REST connector is https://{account-id}.suitetalk.api.netsuite.com. More information can be found on their main API documentation (v1.0) - NetSuite REST documentation site.
See the NetSuite REST API documentation for their full API reference.
Authentification
Prerequisites
To use NetSuite REST web services the relevant REST Web Services features must be enabled within your NetSuite account.
Additionally the REST web services user must have the required permissions assigned to said user’s role.
Input | Notes | Example |
---|---|---|
Account ID | Retreive from base url | https://0000000.app.netsuite.com |
Consumer Key | ||
Certificate ID |
Preparing the connection
Enable features
Navigate to Setup > Company > Enable Features then select the SuiteCloud tab.
Enable the Rest Web Services checkbox options under SuiteTalk (Web Services).
Click Save.
Add a New Integration in NetSuite
In your NetSuite account, navigate to Setup > Integration > Manage Integrations > New.
Add a Name, a Description, and click to change the State dropdown to Enabled.
Uncheck everything in the section Token-based Authentication. If it's not possible to uncheck anything, follow these steps:
In the OAuth 2.0 section: Check Client credentials.
In the Token-based Authentication: Uncheck all fields.
In the OAuth 2.0 section and Scope checkboxes, check all available fields (
RESTLETS
,REST WEB SERVICES
,SUITEANALYTICS CONNECT
).In the OAuth 2.0 section check Client Credentials (Machine to Machine grant).
Save the integration.
Copy the Client ID (Consumer ID) and Client Secret (Consumer Secret) at the bottom of the page.
Generate an RSA Key
In your iconnek account, generate a RSA certificate and copy the public key.
Create a *.pem file with the copied public key.
Upload Public Key to NetSuite
In your NetSuite account, navigate to Setup > Integration > Manage Authentication section.
Go to OAuth 2.0 Client Credentials (M2M) Setup > New.
Configure the following fields:
Entity: Select a user with the
Log in using OAuth 2.0 Access Tokens
permission.Role: Select a role with the
Log in using OAuth 2.0 Access Tokens
permission.Application: Select your application e.g. iconnek. You will see your integration only if you checked the Client Credentials (Machine to Machine grant) box when adding it.
Select the public key from the previous step as the Certificate.
Once you Save, copy the Certificate ID.
Dernière mise à jour