Skip to content

Deletes

This service is used to collect a list of records that have been deleted from the server. IMPORTANT: Only 'invoice' record type is currently supported for this service.

HTTP: GET

Gets the list of deleted records by record type.

Base URL

https://{{realm}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_deletes&deploy=customdeploy_prac_api_deletes_v1

Required Parameters

Name Value Notes
script customscript_prac_api_deletes
deploy customdeploy_prac_api_deletes_v1
custparam_recordtype {{string}} The lowercase record type id. E.g. invoice

Optional Parameters

Name Value Notes
custparam_deleteddate {{datetime}} UTC DateTime in the format 'YYYY-MM-DDTHH24:MI:SSZ' for example: '2024-09-20T12:38:32Z'. Passing this parameter will instruct the server to retrieve all records that have been deleted AFTER this date.
custparam_page {{integer}} Indicates the page to request from the server. If not specified, 1 is used.
custparam_pagesize {{integer}} Indicates how many results to bring back from the server. If not specified, the default size defined on the server is used (typically 100).

Response Information

Results are Paged