curl --request DELETE \
--url https://services.leadconnectorhq.com/payments/coupon \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "BQdAwxa0ky1iK2sstLGJ",
"altType": "location",
"id": "6241712be68f7a98102ba272"
}
'{
"success": true,
"traceId": "c667b18d-8f5e-44cf-a914"
}The “Delete Coupon” API allows you to permanently remove a coupon from your system using its unique identifier. Use this endpoint to discontinue promotional offers or clean up unused coupons. Note that this action cannot be undone.
curl --request DELETE \
--url https://services.leadconnectorhq.com/payments/coupon \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "BQdAwxa0ky1iK2sstLGJ",
"altType": "location",
"id": "6241712be68f7a98102ba272"
}
'{
"success": true,
"traceId": "c667b18d-8f5e-44cf-a914"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Was this page helpful?