NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Payment → Remove record

AI-generated

Summary

Delete a Vendor Payment record in NetSuite by specifying its internal identifier (Id).

Inputs

  • Id (required) — The internal identifier of the Vendor Payment record to delete.
  • Debug Mode — Optionally include full request and response details in the output.
  • Additional Fields — Optional headers such as 'Prefer' to request asynchronous execution ('respond-async') and 'X-NetSuite-Idempotency-Key' to ensure idempotent asynchronous requests.

Output shape

A single JSON object containing the response data from NetSuite. If 'Debug Mode' is enabled, this includes full request and response information.

The output shape depends on the NetSuite REST API's response for record deletion. When 'respond-async' is used, the response includes asynchronous processing confirmation. Errors or failures are returned as standard API error objects.

Examples

Example 1: Delete a Vendor Payment synchronously

Provide the numeric internal Id of the Vendor Payment to delete with Debug Mode disabled.

Example 2: Delete a Vendor Payment asynchronously

Set the Prefer header to 'respond-async' and optionally provide a UUID as an idempotency key in Additional Fields to execute the deletion asynchronously and prevent duplicate processing.

Discussion