FirstPromoter icon

FirstPromoter

Interact with the official FirstPromoter APIs

Referral → Delete Referral

AI-generated

Summary

Delete one or more referrals by specifying their IDs. If more than five IDs are provided, the deletion is processed asynchronously with status tracking.

Inputs

  • IDs (required) — One or more referral IDs to delete. If more than five IDs are provided, the operation will be processed asynchronously and you can monitor statuses such as pending, in_progress, completed, failed, and stopped.

Output shape

a JSON array containing the API response object(s) indicating the result of the deletion operation.

The operation returns the API response in JSON format wrapped in an array. For more than five referrals, the action is asynchronous and you can check the operation status. Errors related to authentication or other issues will be thrown as node errors.

Examples

Example 1: Delete referrals with specified IDs

Provide referral IDs as a list in the 'IDs' input parameter to remove those referral records from FirstPromoter.

Links

Discussion