Actions15
Call RESTlet
AI-generatedSummary
Calls a NetSuite RESTlet using the selected HTTP method, script ID, and deployment ID. Sends optional query parameters and, for methods other than GET, the current input item’s JSON as the request body; the output contains the response body or, when Full Response is enabled, the status code, headers, and body.
Inputs
- HTTP Method (required) — RESTlet method: DELETE, GET, PATCH, POST, or PUT. Defaults to GET. Input item JSON is sent as the body only for methods other than GET.
- Script ID (required) — RESTlet script ID or internal ID.
- Deploy ID (required) — RESTlet deployment ID or internal ID; defaults to 1.
- Query Parameters — Optional key/value pairs sent as query parameters with the RESTlet request.
- Options → Full Response — Defaults to false. When enabled, includes the HTTP status code and headers alongside the response body.
- Options → Max Retries — Defaults to 5; configures retries for rate limits and server errors. Set to 0 to disable retries.
- Input item JSON — For methods other than GET, the current input item’s JSON is sent as the request body.
Output shape
A single item per input item, with the RESTlet response body as its JSON by default; with Full Response enabled, JSON contains statusCode, headers, and body.
GET requests do not send the input item JSON as a body. Request errors follow the node’s normal error handling.