NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Item Revision → Remove record

AI-generated

Summary

Remove an Item Revision record in NetSuite by its internal identifier, optionally including full request and response details in the output and controlling server behavior with preferences.

Inputs

  • Id (required) — The internal identifier of the Item Revision record to delete.
  • Debug Mode — Whether to include full request and response information in the operation's output.
  • Additional Fields — Optional parameters including 'Prefer' to request asynchronous execution ('respond-async') and 'X - Net Suite - Idempotency - Key' to provide a unique idempotency key for asynchronous requests.

Output shape

a single record representing the operation result

When Debug Mode is enabled, the output includes detailed request and response information. If 'Prefer' is set to 'respond-async', the API executes the deletion asynchronously and returns a corresponding preference header. The response reflects the success or failure of the deletion request.

Examples

Example 1: Delete the Item Revision with ID 12345 synchronously

Provide the required Id as 12345, leave Debug Mode disabled, and do not set Additional Fields.

Example 2: Request asynchronous deletion with idempotency key and get debug info

Set Id to the target record's ID, enable Debug Mode, set 'Prefer' to 'respond-async', and provide a UUID string as 'X - Net Suite - Idempotency - Key'.

Discussion