Discussions
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
New to NetSuite | REST: DELETE Operation
REST API requests with the DELETE operation will delete records in NetSuite. It is very important to be cautious when performing this operation, as data recovery, while possible, could be costly for users. As of this writing, Enhancement 171367 is filed to provide the ability to retain and restore deleted records (transactions).
Similar to the GET Operation, the DELETE operation does not have a body and will respond with a status 200 if successful.
Here is an example where a timebill is deleted from the system:
Operation: DELETE
URL: https://<account_id>.suitetalk.api.netsuite.com /services/rest/record/v1/timeBill/11
Note: One of the common errors encountered when deleting records is the
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see