NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subscription Line → Remove record

AI-generated

Summary

Delete a Subscription Line record in NetSuite by its internal identifier.

Inputs

  • Id (required) — The internal identifier of the Subscription Line record to be deleted.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.
  • Additional Fields — Optional settings including 'Prefer' to request asynchronous execution and 'X - Net Suite - Idempotency - Key' to ensure idempotent asynchronous requests via a UUID.

Output shape

The operation returns JSON data with a success or failure response from the NetSuite REST API. If Debug Mode is enabled, the output includes full request and response details for troubleshooting.

If the 'Prefer' header is set to 'respond-async', the server returns a 'Preference-applied: respond-async' response indicating asynchronous execution. The 'X - Net Suite - Idempotency - Key' is respected only in asynchronous requests to prevent duplicate execution. The response shape may vary depending on server behavior and debug mode settings.

Examples

Example 1: Delete a Subscription Line by ID synchronously

Specify the Id parameter with the internal ID of the subscription line to delete. Leave Debug Mode off and do not set 'Prefer' for standard synchronous deletion.

Example 2: Delete a Subscription Line asynchronously with idempotency

Set 'Prefer' to 'respond-async' and provide a UUID string in 'X - Net Suite - Idempotency - Key' in Additional Fields to execute the deletion asynchronously and ensure it occurs only once.

Discussion