MRK NetSuite icon

MRK NetSuite

Make NetSuite REST requests

RESTlet

AI-generated

Summary

Send an authenticated HTTP request to a specified NetSuite RESTlet using the provided script and deployment IDs, supporting GET, POST, PUT, and DELETE methods.

Inputs

  • HTTP Method (required) — Specify the HTTP method (GET, POST, PUT, DELETE) for the RESTlet request.
  • Script ID (required) — The Script ID of the target NetSuite RESTlet (e.g., customscript_my_restlet).
  • Deploy ID (required) — The Deployment ID of the target NetSuite RESTlet (e.g., customdeploy_my_restlet).
  • JSON Body — JSON-formatted data to send as the request body, used with POST and PUT methods.
  • Query Parameters — Custom query parameters to append to the RESTlet request URL.
  • Additional Headers — Custom HTTP headers to include in the RESTlet request.
  • Response Format — Choose between receiving only the response body ('Simple') or the full response including headers and status code ('Full Response').

Output shape

a list of JSON objects representing responses for each input item

Each output object provides either the response body alone (if 'Simple' format selected) or an object containing statusCode, headers, and body (if 'Full Response'). Errors are captured separately if 'continue on fail' is enabled, containing status code, headers, body, and error message.

Links

Discussion