NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Promotion Code → Remove record

AI-generated

Summary

Remove a Promotion Code record in NetSuite identified by its internal Id, optionally controlling request execution behavior.

Inputs

  • Id (required) — The internal identifier of the Promotion Code record to delete.
  • Debug Mode — Whether to include full request and response information in the operation output.
  • Additional Fields — Optional parameters to control server behavior, including 'Prefer' header (e.g., 'respond-async' for asynchronous deletion) and a user-defined idempotency key to ensure single execution of asynchronous requests.

Output shape

a single item per execution containing operation result and optionally full request and response info if Debug Mode is enabled.

The response shape includes success or failure details from NetSuite's REST API for the deletion. If 'respond-async' is used, the operation returns asynchronous execution confirmation. Debug Mode appends full HTTP request and response details to the output for troubleshooting.

Discussion