NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Purchase Item → Remove record

AI-generated

Summary

Delete a Service Purchase Item record identified by its internal ID in NetSuite via the REST API.

Inputs

  • Id (required) — The internal identifier of the Service Purchase Item record to delete.
  • Debug Mode — Whether to include full request and response details in the operation output for debugging.
  • Additional Fields — Optional parameters including 'Prefer' to request asynchronous processing and 'X - Net Suite - Idempotency - Key' to ensure idempotent asynchronous requests.

Output shape

A JSON object representing the deletion response from the NetSuite REST API, optionally including full request and response info if Debug Mode is enabled.

The output includes only the response of the delete HTTP request. When 'Prefer' is set to 'respond-async', the response indicates asynchronous behavior. Idempotency key applies only to asynchronous requests.

Discussion