NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Vendor → Remove record

AI-generated

Summary

Delete a Vendor record in NetSuite by its internal identifier, optionally requesting asynchronous processing and including an idempotency key for safe retries.

Inputs

  • id (required) — The internal identifier of the Vendor record to delete.
  • isDebugMode — Boolean flag to include full request and response details in output for debugging purposes.
  • authMethod — Authentication mechanism to use; options are OAuth1 (default) or OAuth2.
  • Prefer — Request server behavior; use 'respond-async' to execute the delete operation asynchronously.
  • X-NetSuite-Idempotency-Key — A unique UUID string to ensure the asynchronous request is executed only once, ignored if request is synchronous.

Output shape

a JSON object containing the response from NetSuite after attempting to delete the Vendor record, including optional debug information if enabled

If 'Prefer' is set to 'respond-async', the response will indicate asynchronous processing and include the header 'Preference-applied: respond-async'. The idempotency key applies only to asynchronous requests. Errors or success information are included in the response object.

Examples

Example 1: Delete a Vendor record synchronously by id.

Set the 'Id' field to the Vendor internal ID. Leave 'Prefer' unset for synchronous deletion. Enable 'Debug Mode' if full request and response details are desired.

Example 2: Delete a Vendor record asynchronously with idempotency.

Set the 'Id' field to the Vendor internal ID, set 'Prefer' to 'respond-async', and provide a unique UUID string in 'X-NetSuite-Idempotency-Key'. This ensures the delete operation is executed once asynchronously.

Links

Discussion