NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Item → Remove record

AI-generated

Summary

Delete an inventory item record by its internal ID, optionally in an asynchronous request and with an idempotency key

Inputs

  • isDebugMode — Include full HTTP request and response details in the output when enabled.
  • id (required) — The internal NetSuite ID of the inventory item to delete.
  • additionalFields — Optional settings for the delete request. Provide a value for Prefer to request asynchronous processing (choose "respond-async") and optionally set "X-NetSuite-Idempotency-Key" with a UUID to make the request idempotent.

Output shape

no body — success/failure only

Returns the NetSuite API response when debug mode is false. If debug mode is true, the output includes the full HTTP request and response objects.
The operation throws an error if the delete fails or if required parameters are missing.

Examples

Example 1: Perform a synchronous deletion of an inventory item

isDebugMode=false; id=12345; additionalFields=None

Example 2: Request an asynchronous delete with idempotency protection

isDebugMode=false; id=98765; additionalFields={Prefer=respond-async; X-NetSuite-Idempotency-Key=550e8400-e29b-41d4-a716-446655440000}

Discussion