NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Cost Revaluation → Remove record

AI-generated

Summary

Delete a NetSuite Inventory Cost Revaluation record by its internal id, optionally performing the request asynchronously through the Prefer header.

Inputs

  • isDebugMode — Include full request and response details in the output.
  • id (required) — Internal identifier of the Inventory Cost Revaluation record to delete.
  • additionalFields — Optional headers for the request: Prefer (e.g., 'respond-async' to execute asynchronously) and X‑NetSuite‑Idempotency‑Key for ensuring single execution of async requests.

Output shape

no body – success or failure only

When Debug Mode is enabled, the output includes the HTTP request and response objects; otherwise the node returns no data if the operation succeeds. If an asynchronous request is made (Prefer: respond-async), a 202 Accepted response with a 'Preference‑applied: respond-async' header is returned. Errors are surfaced as execution errors.

Examples

Example 1: Delete a record synchronously

Set Id to 12345 and leave Debug Mode unchecked – the node will delete the record and produce no output on success.

Example 2: Delete a record asynchronously with debug

Set Id to 12345, enable Debug Mode, and add Prefer: respond-async along with an X‑NetSuite‑Idempotency‑Key value – the node will perform the async delete and output the full request/response for inspection.

Discussion