NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Gift Certificate Item → Remove record

AI-generated

Summary

Delete a Gift Certificate Item by its internal identifier.

Inputs

  • Id (required) — The internal numeric identifier of the gift certificate item to delete.
  • isDebugMode — When true, structure the output to include full request and response data for debugging.
  • Prefer — Optional request preference; set to "respond-async" to execute the deletion asynchronously.
  • X-NetSuite-Idempotency-Key — When using asynchronous mode, provide a UUID to guarantee idempotent execution.

Output shape

no body — returns success/failure status (and full request/response data if Debug Mode is enabled).

If Prefer=respond-async is used, the response includes a 'Preference-applied: respond-async' header and a job URL for checking completion. This operation does not return the deleted item data.

Examples

Example 1: Delete a specific gift certificate item synchronously

Set Id to 456; leave Prefer empty; Debug Mode off.

Example 2: Delete asynchronously with idempotency key

Set Id to 789; set Prefer to "respond-async"; provide X-NetSuite-Idempotency-Key as a UUID; enable Debug Mode to inspect async response.

Example 3: Inspect raw request/response data

Enable Debug Mode; any of the above settings will yield detailed request/response objects in the output.

Discussion