NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Purchase Contract → Remove record

AI-generated

Summary

Remove a Purchase Contract record from NetSuite by its internal identifier, optionally requesting asynchronous execution or providing an idempotency key for async requests.

Inputs

  • Id (required) — The internal identifier of the Purchase Contract record to delete.
  • Debug Mode — Enable to include full request and response details in the output.
  • Prefer — Request server behavior; use 'respond-async' to perform deletion asynchronously.
  • X - Net Suite - Idempotency - Key — A unique UUID string to ensure idempotency of asynchronous delete requests.

Output shape

a single record containing the API response data from the deletion request

If Debug Mode is enabled, the output includes full request and response details. When using 'respond-async', the response indicates acceptance and contains asynchronous execution status information. Input parameters must include the Purchase Contract internal ID.

Examples

Example 1: Delete Purchase Contract synchronously

Provide the Purchase Contract ID and leave 'Prefer' empty with Debug Mode off.

Example 2: Delete Purchase Contract asynchronously

Set 'Prefer' to 'respond-async' and optionally provide an idempotency key for safe repeated async requests.

Discussion