NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Service Resale Item → Remove record

AI-generated

Summary

Remove a Service Resale Item record in NetSuite by its internal ID, optionally handling asynchronous server processing and idempotency.

Inputs

  • Id (required) — Internal identifier of the Service Resale Item record to delete.
  • Authentication Method — Select whether to authenticate API requests with OAuth1 or OAuth2.
  • Debug Mode — Enable to include full request and response debug information in the operation output.
  • Additional Fields — Optional parameters to control request behavior including 'Prefer' header for asynchronous execution mode and 'X - Net Suite - Idempotency - Key' for ensuring single execution of async requests.

Output shape

An object containing status information about the delete request and optionally full debug details if enabled.

The response varies based on server behavior; if 'respond-async' is requested, the server may process deletion asynchronously and return a 'Preference-applied' header. Debug mode enriches the output with HTTP request and response details. The idempotency key applies only for asynchronous requests.

Examples

Example 1: Deleting a Service Resale Item synchronously

Specify the Id of the item and use default synchronous execution (no 'respond-async' header).

Example 2: Deleting a Service Resale Item asynchronously with idempotency

Set 'Prefer' to 'respond-async' and provide a UUID string as 'X - Net Suite - Idempotency - Key' to ensure the operation executes exactly once.

Links

Discussion