NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer → Remove record

AI-generated

Summary

Deletes a Customer record from NetSuite by its internal identifier.

Inputs

  • id (required) — Internal identifier of the Customer record to remove.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method for the NetSuite API request.
  • additionalFields — Additional request parameters and headers.

Output shape

HTTP response metadata including status and optional debug info when isDebugMode is enabled.

Asynchronous execution is controlled via the 'Prefer' header (set to 'respond-async' for async execution, which returns 'Preference-applied: respond-async' in the response). Idempotency is ensured via the 'X-NetSuite-Idempotency-Key' header (RFC 4122 UUID string); only one request executes per unique key, and the value is ignored for synchronous requests.

Examples

Example 1: Synchronous deletion with OAuth1 authentication.

Set id to the target Customer internal ID, leave isDebugMode at default false, and use authMethod OAuth1.

Example 2: Asynchronous deletion with idempotency.

Set id to the target Customer internal ID, set additionalFields.Prefer to 'respond-async', and set additionalFields.X-NetSuite-Idempotency-Key to a RFC 4122 UUID string.

Links

Discussion