NetSuite Component
Manage NetSuite records
Component key: netsuite#
DescriptionOracle NetSuite is a unified business management suite, encompassing ERP/Financials, CRM and ecommerce for more than 33,000 customers.
For more details refer to NetSuite's API documentation.
#
NetSuite Connections#
NetSuite OAuth 2.0To make API requests to NetSuite on behalf of your customers you will need to create an OAuth 2.0 app. Refer to NetSuite's OAuth 2.0 documentation for details on adding an application. You will need to add Prismatic's callback URL - https://oauth2.prismatic.io/callback - to your app. Be sure to keep track of your Account ID, Client ID, and Client Secret as those will be needed for connecting to NetSuite from Prismatic.
Input | Default | Notes | Example |
---|---|---|---|
Input Account ID string / Required | Default | Notes Your organization's NetSuite Account ID | Example 6532451 |
Input Authorize URL string / Required | Default https://<ACCOUNT_ID>.app.netsuite.com/app/login/oauth2/authorize.nl | Notes The OAuth 2.0 Authorization URL for NetSuite | Example https://<ACCOUNT_ID>.app.netsuite.com/app/login/oauth2/authorize.nl |
Input Client ID string / Required | Default | Notes | Example |
Input Client Secret password / Required | Default | Notes | Example |
Input Scopes string | Default rest_webservices | Notes A space-delimited set of one or more scopes | Example |
Input Token URL string / Required | Default https://<ACCOUNT_ID>.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token | Notes The OAuth 2.0 Token URL for NetSuite | Example https://<ACCOUNT_ID>.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token |
#
Actions#
Create RecordCreate record of specified type | key: createRecord
Input | Notes |
---|---|
Input Connection connection / Required | Notes |
Input Payload data / Required | Notes Data payload to send in the action request. See https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2022.1/index.html for details. |
Input Record Type string / Required | Notes Record type to perform the action against. |
#
Delete RecordDelete record of the specified type | key: deleteRecord
Input | Notes |
---|---|
Input Connection connection / Required | Notes |
Input Record ID string / Required | Notes The ID of the record you want. |
Input Record Type string / Required | Notes Record type to perform the action against. |
#
Get RecordGet record of specified type | key: getRecord
Input | Default | Notes |
---|---|---|
Input Connection connection / Required | Default | Notes |
Input Expand Sub-Resources boolean | Default false | Notes Enable to automatically expand all sublists, sublist lines, and subrecords on this record. |
Input Fields to Return string Value List | Default | Notes Specific fields and sublists to return in the request. If unspecified, the full record is returned. |
Input Record ID string / Required | Default | Notes The ID of the record you want. |
Input Record Type string / Required | Default | Notes Record type to perform the action against. |
Input Simple Enum Format boolean | Default false | Notes Enable to return enumeration values in a format that only shows the internal ID value. |
#
List RecordsList records of specified type | key: listRecord
Input | Notes | Example |
---|---|---|
Input Connection connection / Required | Notes | Example |
Input Pagination Limit string | Notes Fetch only this many records at a time. | Example 10 |
Input Pagination Offset string | Notes Fetch records offset by this value. | Example 20 |
Input Query string | Notes Query to filter records by. See https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1545222128.html for details. | Example |
Input Record Type string / Required | Notes Record type to perform the action against. | Example |
#
Raw RequestSend Raw Request to NetSuite | key: rawRequest
Input | Default | Notes | Example |
---|---|---|---|
Input Connection connection / Required | Default | Notes | Example |
Input Data string | Default | Notes The HTTP body payload to send to the URL. | Example {"exampleKey": "Example Data"} |
Input Debug Request boolean | Default false | Notes Enabling this flag will log out the current request. | Example |
Input File Data string Key Value List | Default | Notes File Data to be sent as a multipart form upload. | Example [{key: "example.txt", value: "My File Contents"}] |
Input Form Data string Key Value List | Default | Notes The Form Data to be sent as a multipart form upload. | Example [{"key": "Example Key", "value": new Buffer("Hello World")}] |
Input Header string Key Value List | Default | Notes A list of headers to send with the request. | Example User-Agent: curl/7.64.1 |
Input Max Retry Count string | Default 0 | Notes The maximum number of retries to attempt. | Example |
Input Method string / Required | Default | Notes The HTTP method to use. | Example |
Input Query Parameter string Key Value List | Default | Notes A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2. | Example |
Input Response Type string / Required | Default json | Notes The type of data you expect in the response. You can request json, text, or binary data. | Example |
Input Retry On All Errors boolean | Default false | Notes If true, retries on all erroneous responses regardless of type. | Example |
Input Retry Delay (ms) string | Default 0 | Notes The delay in milliseconds between retries. | Example |
Input Timeout string | Default | Notes The maximum time that a client will await a response to its request | Example 2000 |
Input URL string / Required | Default | Notes This is the URL to call. | Example /contact |
Input Use Exponential Backoff boolean | Default false | Notes Specifies whether to use a pre-defined exponential backoff strategy for retries. | Example |
#
Update RecordUpdate record of the specified type | key: updateRecord
Input | Default | Notes |
---|---|---|
Input Connection connection / Required | Default | Notes |
Input Record ID string / Required | Default | Notes The ID of the record you want. |
Input Payload data / Required | Default | Notes Data payload to send in the action request. See https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2022.1/index.html for details. |
Input Record Type string / Required | Default | Notes Record type to perform the action against. |
Input Replace string Value List | Default | Notes Names of sublists on this record. All specified sublists will be replaced instead of added to. |
Input Replace Selected Fields boolean | Default false | Notes If enabled, delete all fields, including body fields, specified in the Replace input. |