NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Non Inventory Purchase Item → Remove record

AI-generated

Summary

Delete a Non Inventory Purchase Item record in NetSuite by its internal identifier.

Inputs

  • Id (required) — The internal identifier of the Non Inventory Purchase Item record to delete.
  • Debug Mode — Set to true to include full request and response details in the output.
  • Additional Fields — Optional parameters such as 'Prefer' to request asynchronous execution and 'X - Net Suite - Idempotency - Key' to ensure idempotency for async requests.

Output shape

a JSON object with the result of the delete request; may include full request and response info if Debug Mode is enabled.

The response reflects whether the deletion was successful. If 'Prefer' is set to 'respond-async', the request is performed asynchronously, and the response includes a preference-applied header. The idempotency key is used only for asynchronous requests to prevent duplicate execution.

Examples

Example 1: Delete a Non Inventory Purchase Item synchronously

Set 'Id' to the record's internal ID, leave 'Prefer' empty, and 'Debug Mode' false.

Example 2: Delete a record asynchronously with idempotency

Set 'Id' to the internal ID, 'Prefer' to 'respond-async', and provide a UUID string for 'X - Net Suite - Idempotency - Key'.

Discussion