NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Contract → Remove record

AI-generated

Summary

Delete a Purchase Contract record by its internal identifier in NetSuite via REST API.

Inputs

  • id (required) — The internal identifier of the Purchase Contract record to be deleted.
  • authMethod — Select the authentication method to use: OAuth1 or OAuth2. Defaults to OAuth1.
  • isDebugMode — Enable to include full HTTP request and response details in the output for debugging purposes.
  • additionalFields.Prefer — Optionally request server to process the deletion asynchronously by setting to 'respond-async'.
  • additionalFields.X-NetSuite-Idempotency-Key — A unique idempotency key in UUID string format to ensure the asynchronous delete request executes only once.

Output shape

a single JSON object representing the deletion response or an error message, optionally including full request and response information if Debug Mode is enabled.

If 'Prefer' is set to 'respond-async', the response will include headers indicating asynchronous processing. The 'X-NetSuite-Idempotency-Key' only applies for asynchronous requests. On success, no record data is returned, only confirmation of deletion or status code. Errors will include details in the response.

Links

Discussion