NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Competitor → Remove record

AI-generated

Summary

Removes a Competitor record from NetSuite via the REST API.

Inputs

  • id (required) — Internal identifier of the Competitor record to remove.
  • isDebugMode — Whether to include full request and response info in the output. Default: false.
  • authMethod — Authentication method for the NetSuite REST API request. Default: oauth1. Options: OAuth1, OAuth2.
  • additionalFields — Optional headers and preferences for the request. Default: {}. Contains Prefer and X-NetSuite-Idempotency-Key.

Output shape

The operation returns the result of the DELETE request to the NetSuite REST API. When isDebugMode is true, full request and response details are included in the output.

Asynchronous execution is supported via the Prefer header set to 'respond-async'. An idempotency key (UUID per RFC 4122) can be provided via X-NetSuite-Idempotency-Key to ensure the request executes only once.

Examples

Example 1: Synchronous delete of a Competitor record by ID 123.

Set id to 123, leave isDebugMode and additionalFields at defaults.

Example 2: Asynchronous delete with idempotency.

Set id to 123, set additionalFields.X-NetSuite-Idempotency-Key to a UUID string, and additionalFields.Prefer to 'respond-async'.

Links

Discussion