NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Opportunity → Remove record

AI-generated

Summary

Delete an Opportunity record in NetSuite by its internal identifier.

Inputs

  • Id (required) — The internal identifier of the Opportunity record to delete.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.
  • Additional Fields — Optional parameters including 'Prefer' header to request asynchronous execution ('respond-async'), and 'X-NetSuite-Idempotency-Key' to ensure idempotent asynchronous requests.

Output shape

An object containing the result of the deletion request, which may include debug information if enabled.

Output includes full HTTP request and response details only if Debug Mode is enabled. Asynchronous deletion is supported if 'respond-async' is set in the Prefer header, with server response indicating 'Preference-applied: respond-async'. Idempotency key is applied only for asynchronous requests.

Discussion