NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Promotion Code → Remove record

AI-generated

Summary

Delete a Promotion Code record in NetSuite by its internal identifier.

Inputs

  • id (required) — The internal identifier of the Promotion Code record to delete.
  • isDebugMode — Whether to include full HTTP request and response details in the output.
  • authMethod — The authentication method to use, either OAuth1 or OAuth2. Defaults to OAuth1.
  • additionalFields — Optional additional headers like 'Prefer' for asynchronous execution and 'X-NetSuite-Idempotency-Key' to ensure idempotency for async requests.

Output shape

no body — success/failure only

If Debug Mode is enabled, the output will include detailed HTTP request and response data. Errors will be surfaced if the deletion fails. The operation deletes the specified Promotion Code record by its ID in NetSuite REST API.

Examples

Example 1: Remove a Promotion Code record by its ID

Set resource to Promotion Code, operation to Remove record, provide the required 'Id', optionally enable Debug Mode or set Additional Fields for async requests.

Links

Discussion