Parameters
JSON body
Request body
application/jsoncodestringRequiredVoucher code to deactivate.
Example
SUMMER2024Deactivates a voucher by setting its active flag to false. This is a soft delete - the voucher remains in the database but cannot be used. Use update endpoint with active: true to reactivate.
JSON body
codestringRequiredVoucher code to deactivate.
SUMMER20241 status code documented
successbooleanRequiredWhether deactivation was successful.
{
"success": false
}POST /bff/voucher/deactivate
curl -X POST "https://api.bizkithub.com/bff/voucher/deactivate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "SUMMER2024"
}'All BizKitHub public API endpoints require authentication via API key.