Actions35
- Commission Actions
- Custom API Actions
- Promo Code Actions
- Promoter Actions
- Referral Actions
- Tracking Actions
Promo Code → Archive Promo Code By ID
AI-generatedSummary
Delete (archive) a promo code by its ID in the FirstPromoter system.
Inputs
- Promo Code ID (required) — ID of the promo code
Output shape
a JSON array containing the response from the FirstPromoter API, typically confirming deletion or status
This operation sends a DELETE request to archive the promo code identified by the given Promo Code ID. The API response is returned as JSON. Errors, including authentication failures, are properly handled and reported.
Examples
Example 1: Archive a promo code after it is no longer needed
Set resource to 'Promo Code', operation to 'Archive Promo Code By ID', and provide the Promo Code ID of the code to delete.