NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Order → Remove record

AI-generated

Summary

Delete a Sales Order record in NetSuite by specifying its internal identifier (Id). Optionally control async execution and idempotency via additional fields.

Inputs

  • Id (required) — The internal identifier of the Sales Order to delete.
  • Debug Mode — Whether to include full request and response details in the output.
  • Additional Fields — Optional parameters including 'Prefer' to request asynchronous execution and 'X-NetSuite-Idempotency-Key' to ensure request idempotency for async calls.

Output shape

a JSON object representing the deletion response or error details; includes full request/response info if Debug Mode is enabled.

If 'Prefer' is set to 'respond-async', the deletion executes asynchronously and the response contains a preference-applied header indicating async execution. The 'X-NetSuite-Idempotency-Key' is effective only for async requests to ensure single execution.

Discussion