NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Order → Remove record

AI-generated

Summary

Delete a Purchase Order record in NetSuite by specifying its internal ID, with optional asynchronous execution and idempotency support.

Inputs

  • Id (required) — The internal identifier of the Purchase Order to remove.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.
  • Additional Fields — Optional parameters including 'Prefer' to request asynchronous execution ('respond-async') and 'X - Net Suite - Idempotency - Key' to ensure idempotency of asynchronous requests by providing a unique UUID string.

Output shape

a single API response indicating the deletion result, optionally including full request and response details if Debug Mode is enabled

If 'Prefer' is set to 'respond-async', the deletion request is executed asynchronously and the response will include 'Preference-applied: respond-async'. The idempotency key is only used for asynchronous requests. Errors and success responses conform to NetSuite's REST API behavior.

Discussion