NetSuite icon

NetSuite

Interact with NetSuite via REST API, SuiteQL, and Restlets using OAuth 2.0 Client Credentials

Actions11

Record → Delete

AI-generated

Summary

Delete a specific NetSuite record by specifying its type and internal ID, performing a DELETE request to the NetSuite REST API.

Inputs

  • Record Type (required) — The type of record to delete in NetSuite, selected from a loaded list of record types or entered manually.
  • Record ID (required) — The internal ID of the NetSuite record to delete.

Output shape

a single JSON object indicating success status and the ID of the deleted record.

Requires the Record Type and Record ID inputs. Returns a JSON object with { success: true, id: } on successful deletion. Throws errors if Record ID is missing or if deletion fails. No pagination or multiple results since this deletes a single record.

Examples

Example 1: Delete a customer record with ID 1234

Set Record Type to 'customer' and Record ID to '1234'. Execute the operation to delete this specific record.

Links

Discussion