Skip to main content
DELETE
/
coupons
Delete a coupon
curl --request DELETE \
  --url https://www.pushlapgrowth.com/api/v1/coupons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "couponId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "message": "<string>",
  "deletedCoupon": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  }
}

Deleting Coupons

Delete a coupon from your affiliate program. This will also delete all promotional codes associated with this coupon.
Deleting a coupon is permanent and will cascade delete all promotional codes linked to it. Make sure to deactivate the coupon first if you want to preserve historical data.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Coupon delete details

couponId
string<uuid>
required

The coupon ID to delete

Response

Coupon deleted successfully

message
string
deletedCoupon
object
I