NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Ship Item → Remove record

AI-generated

Summary

Delete a Ship Item record in NetSuite by its internal identifier, optionally requesting asynchronous execution and supplying an idempotency key for async calls.

Inputs

  • Id (required) — Internal identifier of the Ship Item record to remove.
  • Debug Mode — Include full HTTP request and response details in the output.
  • Authentication Method — Select between OAuth1 and OAuth2 authentication methods.
  • Additional Fields — Optional parameters including 'Prefer' header to request asynchronous execution ('respond-async') and an 'X-NetSuite-Idempotency-Key' UUID for idempotency on async requests.

Output shape

A single JSON object containing the response from NetSuite's REST API upon deletion, optionally including detailed debug information if Debug Mode is enabled.

If 'Prefer' is set to 'respond-async', the deletion request is executed asynchronously and the response will include a 'Preference-applied: respond-async' header. The idempotency key is used only for async requests to ensure single execution. Errors and HTTP metadata are included when debug mode is active.

Examples

Example 1: Remove a specific Ship Item synchronously by ID

Provide the Ship Item record's Id and choose the preferred authentication method (OAuth1 or OAuth2). Leave 'Prefer' blank and keep Debug Mode off for a straightforward synchronous removal.

Example 2: Remove a Ship Item asynchronously with idempotency to prevent duplicate executions

Set 'Prefer' to 'respond-async' and supply a unique UUID string in 'X-NetSuite-Idempotency-Key' to safely execute and retry the delete request asynchronously. Enable Debug Mode to receive detailed execution data if desired.

Links

Discussion